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





Gets or sets the target color.

Syntax

Visual Basic (Declaration) 
Public Property TargetColor As Color
Visual Basic (Usage)Copy Code
Dim instance As SampleTargetCommandBitmapEffect
Dim value As Color
 
instance.TargetColor = value
 
value = instance.TargetColor
C# 
public Color TargetColor {get; set;}
Managed Extensions for C++ 
public: __property Color get_TargetColor();
public: __property void set_TargetColor( 
   Color value
);
C++/CLI 
public:
property Color TargetColor {
   Color get();
   void set (Color value);
}
XAML Attributes Usage 

<object SampleColor =Color >

Dependency Property Information 

Identifier field

SampleColorProperty

Metadata properties set to true

None

Return Value

Color value that represents the target color. The red value for red channel, green value for green channel, blue value for blue channel.

Example

For XAML example, refer to SampleTargetCommandBitmapEffect.

For C#/VB examples, refer to SampleTargetCommandBitmapEffect.

Requirements

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

See Also