Visual Basic (Declaration) | |
---|---|
Public Property BallColors As Color() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Color[] BallColors {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property Color[]* get_BallColors(); public: __property void set_BallColors( Color[]* value ); |
C++/CLI | |
---|---|
public: property array<Color>^ BallColors { array<Color>^ get(); void set (Colorarray<value>^ value); } |
XAML | |
---|---|
cannot be used in XAML directly.Instead use x:Array Markup Extension. |
XAML Attributes Usage | |
---|---|
<object BallColors =Color > |
Dependency Property Information | |
---|---|
Identifier field | BallColorsProperty |
Metadata properties set to true | None |
Return Value
Array of Color structures that contains the ball colors used by this class object.For XAML example, refer to ColoredBallsCommandBitmapEffect.
For C#/VB examples, refer to ColoredBallsCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003