Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
CellWidth Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > GlassEffectCommandBitmapEffect Class : CellWidth Property





Gets or sets a value that represents the width of a cell in pixels or the number of cells present across the width of the image.

Syntax

Visual Basic (Declaration) 
Public Property CellWidth As Integer
Visual Basic (Usage)Copy Code
Dim instance As GlassEffectCommandBitmapEffect
Dim value As Integer
 
instance.CellWidth = value
 
value = instance.CellWidth
C# 
public int CellWidth {get; set;}
Managed Extensions for C++ 
public: __property int get_CellWidth();
public: __property void set_CellWidth( 
   int value
);
C++/CLI 
public:
property int CellWidth {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object CellWidth =int >

Dependency Property Information 

Identifier field

CellWidthProperty

Metadata properties set to true

None

Return Value

Value that represents the width of a cell in pixels or the number of cells present across the width of the image, based on the flags set in the Flags property. The valid range is between 2 and half the image width.

Example

For XAML example, refer to GlassEffectCommandBitmapEffect.

For C#/VB examples, refer to GlassEffectCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also