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





Gets or sets the width of the each block in pixels or the number of blocks per row.

Syntax

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

<object XBlock =int >

Dependency Property Information 

Identifier field

XBlockProperty

Metadata properties set to true

None

Return Value

If the PuzzleEffectCommandBitmapEffectsFlags.Size flag is set, this value represents the width of the each block, in pixels. If the PuzzleEffectCommandBitmapEffectsFlags.Count flag is set, it represents the number of blocks per row. Only positive values are accepted.

Example

For XAML example, refer to PuzzleEffectCommandBitmapEffect.

For C#/VB examples, refer to PuzzleEffectCommandBitmapEffect.

Requirements

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

See Also