Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
NumberOfBalls Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > ColoredBallsCommandBitmapEffect Class : NumberOfBalls Property





Gets or sets a value that represents the number of balls that will be drawn in the image. Only positive values are accepted.

Syntax

Visual Basic (Declaration) 
Public Property NumberOfBalls As Integer
Visual Basic (Usage)Copy Code
Dim instance As ColoredBallsCommandBitmapEffect
Dim value As Integer
 
instance.NumberOfBalls = value
 
value = instance.NumberOfBalls
C# 
public int NumberOfBalls {get; set;}
C++/CLI 
public:
property int NumberOfBalls {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object NumberOfBalls =int >

Dependencies Property Information 

Identifier field

NumberOfBallsProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object NumberOfBalls =int >

Dependencies Property Information 

Identifier field

NumberOfBallsProperty

Metadata properties set to true

None

Return Value

Value that represents the number of balls that will be drawn in the image. Only positive values are accepted.

Example

For XAML example, refer to ColoredBallsCommandBitmapEffect.

For C#/VB examples, refer to ColoredBallsCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also