BrushToColorConverter.Convert(Brush, Object, CultureInfo) Yöntem

Tanım

Belirtilen fırçayı renge dönüştürür.

protected:
 override System::Windows::Media::Color Convert(System::Windows::Media::Brush ^ value, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected:
 override System::Windows::Media::Color Convert(System::Windows::Media::Brush ^ brush, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected override System.Windows.Media.Color Convert (System.Windows.Media.Brush value, object parameter, System.Globalization.CultureInfo culture);
protected override System.Windows.Media.Color Convert (System.Windows.Media.Brush brush, object parameter, System.Globalization.CultureInfo culture);
override this.Convert : System.Windows.Media.Brush * obj * System.Globalization.CultureInfo -> System.Windows.Media.Color
override this.Convert : System.Windows.Media.Brush * obj * System.Globalization.CultureInfo -> System.Windows.Media.Color
Protected Overrides Function Convert (value As Brush, parameter As Object, culture As CultureInfo) As Color
Protected Overrides Function Convert (brush As Brush, parameter As Object, culture As CultureInfo) As Color

Parametreler

valuebrush
Brush

Fırçanın değeri.

parameter
Object

Fırça tarafından kullanılan parametre.

culture
CultureInfo

Fırçanın kültürü.

Döndürülenler

Color

Fırçanın rengini döndürür.

Şunlara uygulanır