Brush Třída

Definice

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.BrushTypeConverter))]
public abstract class Brush : Xamarin.Forms.BindableObject
type Brush = class
    inherit BindableObject
Dědičnost
Odvozené
Atributy

Konstruktory

Brush()

Pole

AliceBlue
AntiqueWhite
Aqua
Aquamarine
Azure
Beige
Bisque
Black
BlanchedAlmond
Blue
BlueViolet
Brown
BurlyWood
CadetBlue
Chartreuse
Chocolate
Coral
CornflowerBlue
Cornsilk
Crimson
Cyan
DarkBlue
DarkCyan
DarkGoldenrod
DarkGray
DarkGreen
DarkKhaki
DarkMagenta
DarkOliveGreen
DarkOrange
DarkOrchid
DarkRed
DarkSalmon
DarkSeaGreen
DarkSlateBlue
DarkSlateGray
DarkTurquoise
DarkViolet
DeepPink
DeepSkyBlue
DimGray
DodgerBlue
Firebrick
FloralWhite
ForestGreen
Fuchsia
Gainsboro
GhostWhite
Gold
Goldenrod
Gray
Green
GreenYellow
Honeydew
HotPink
IndianRed
Indigo
Ivory
Khaki
Lavender
LavenderBlush
LawnGreen
LemonChiffon
LightBlue
LightCoral
LightCyan
LightGoldenrodYellow
LightGray
LightGreen
LightPink
LightSalmon
LightSeaGreen
LightSkyBlue
LightSlateGray
LightSteelBlue
LightYellow
Lime
LimeGreen
Linen
Magenta
Maroon
MediumAquamarine
MediumBlue
MediumOrchid
MediumPurple
MediumSeaGreen
MediumSlateBlue
MediumSpringGreen
MediumTurquoise
MediumVioletRed
MidnightBlue
MintCream
MistyRose
Moccasin
NavajoWhite
Navy
OldLace
Olive
OliveDrab
Orange
OrangeRed
Orchid
PaleGoldenrod
PaleGreen
PaleTurquoise
PaleVioletRed
PapayaWhip
PeachPuff
Peru
Pink
Plum
PowderBlue
Purple
Red
RosyBrown
RoyalBlue
SaddleBrown
Salmon
SandyBrown
SeaGreen
SeaShell
Sienna
Silver
SkyBlue
SlateBlue
SlateGray
Snow
SpringGreen
SteelBlue
Tan
Teal
Thistle
Tomato
Transparent
Turquoise
Violet
Wheat
White
WhiteSmoke
Yellow
YellowGreen

Vlastnosti

BindingContext

Získá nebo nastaví objekt, který obsahuje vlastnosti, které budou cílit vázané vlastnosti, které patří k tomuto BindableObject.

(Zděděno od BindableObject)
Default
Dispatcher (Zděděno od BindableObject)
IsEmpty

Metody

ApplyBindings()

Použijte vazby na BindingContext.

(Zděděno od BindableObject)
ClearValue(BindableProperty)

Vymaže všechny hodnoty nastavené parametrem SetValue pro property.

(Zděděno od BindableObject)
ClearValue(BindablePropertyKey)

Vymaže všechny hodnoty nastavené parametrem SetValue pro vlastnost, která je identifikovaná parametrem propertyKey.

(Zděděno od BindableObject)
CoerceValue(BindableProperty) (Zděděno od BindableObject)
CoerceValue(BindablePropertyKey) (Zděděno od BindableObject)
GetValue(BindableProperty)

Vrátí hodnotu, která je obsažena v BindableProperty.

(Zděděno od BindableObject)
GetValues(BindableProperty, BindableProperty)
Zastaralé.

Pro interní použití platformou Xamarin.Forms.

(Zděděno od BindableObject)
GetValues(BindableProperty, BindableProperty, BindableProperty)
Zastaralé.

Pro interní použití platformou Xamarin.Forms.

(Zděděno od BindableObject)
IsNullOrEmpty(Brush)
IsSet(BindableProperty)

Vrátí hodnotu true , pokud vlastnost cíle existuje a byla nastavena.

(Zděděno od BindableObject)
OnBindingContextChanged()

Přepsat tuto metodu provést akci při BindingContext změny.

(Zděděno od BindableObject)
OnPropertyChanged(String)

Volání této metody z podřízené třídy oznámit, že došlo ke změně vlastnosti.

(Zděděno od BindableObject)
OnPropertyChanging(String)

Voláním této metody z podřízené třídy oznámíte, že u vlastnosti dojde ke změně.

(Zděděno od BindableObject)
RemoveBinding(BindableProperty)

Odebere dříve nastavenou vazbu.

(Zděděno od BindableObject)
SetBinding(BindableProperty, BindingBase)

Přiřadí vazbu vlastnosti.

(Zděděno od BindableObject)
SetValue(BindableProperty, Object)

Nastaví hodnotu zadané vlastnosti.

(Zděděno od BindableObject)
SetValue(BindablePropertyKey, Object)

Nastaví hodnotu propertyKey.

(Zděděno od BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

Pro interní použití platformou Xamarin.Forms.

(Zděděno od BindableObject)
UnapplyBindings()

Zruší použití všech dříve nastavených vazeb.

(Zděděno od BindableObject)

Událost

BindingContextChanged

Vyvolá se BindingContext při každé změně vlastnosti.

(Zděděno od BindableObject)
PropertyChanged

Vyvolá se při změně vlastnosti.

(Zděděno od BindableObject)
PropertyChanging

Vyvolá se, když se vlastnost změní.

(Zděděno od BindableObject)

Explicitní implementace rozhraní

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

Pro interní použití platformou Xamarin.Forms.

(Zděděno od BindableObject)

Metody rozšíření

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)
SetAppThemeColor(BindableObject, BindableProperty, Color, Color)
SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String)

Vytvoří a použije vazbu na vlastnost.

SetBinding<TSource>(BindableObject, BindableProperty, Expression<Func<TSource,Object>>, BindingMode, IValueConverter, String)
Zastaralé.

Vytvoří a použije vazbu z výrazu.

SetOnAppTheme<T>(BindableObject, BindableProperty, T, T)

Platí pro