Udostępnij za pośrednictwem


BrushToColorConverter Class

Definition

Converts a brush to a color.

public ref class BrushToColorConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<System::Windows::Media::Brush ^, System::Windows::Media::Color>
[Windows::Foundation::Metadata::WebHostHidden]
class BrushToColorConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<System::Windows::Media::Brush, System::Windows::Media::Color>
public class BrushToColorConverter : Microsoft.VisualStudio.PlatformUI.ValueConverter<System.Windows.Media.Brush,System.Windows.Media.Color>
type BrushToColorConverter = class
    inherit ValueConverter<Brush, Color>
Public Class BrushToColorConverter
Inherits ValueConverter(Of Brush, Color)
Inheritance
BrushToColorConverter

Constructors

BrushToColorConverter()

Creates a new instance of the class.

Methods

Convert(Brush, Object, CultureInfo)

Converts the specified brush to a color.

Convert(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
Convert(TSource, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(TTarget, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)

Applies to