Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property int CellWidth {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object CellWidth =int >

Dependencies Property Information 

Identifier field

CellWidthProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object CellWidth =int >

Dependencies 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, Windows Server 2008 family

See Also