Brush Classe

Définition

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.BrushTypeConverter))]
public abstract class Brush : Xamarin.Forms.BindableObject
type Brush = class
    inherit BindableObject
Héritage
System.Object
Brush
Dérivé
Attributs

Constructeurs

Brush()

Champs

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

Propriétés

BindingContext

Obtient ou définit l’objet qui contient les propriétés qui seront ciblées par les propriétés liées appartenant à ce BindableObject.

(Hérité de BindableObject)
Default
Dispatcher (Hérité de BindableObject)
IsEmpty

Méthodes

ApplyBindings()

Applique les liaisons à BindingContext.

(Hérité de BindableObject)
ClearValue(BindableProperty)

Efface toute valeur définie par SetValue pour property.

(Hérité de BindableObject)
ClearValue(BindablePropertyKey)

Efface toute valeur définie par SetValue pour la propriété qui est identifiée par propertyKey.

(Hérité de BindableObject)
CoerceValue(BindableProperty) (Hérité de BindableObject)
CoerceValue(BindablePropertyKey) (Hérité de BindableObject)
GetValue(BindableProperty)

Retourne la valeur qui est contenue dans BindableProperty.

(Hérité de BindableObject)
GetValues(BindableProperty, BindableProperty)
Obsolète.

Pour un usage interne par la plateforme Xamarin.Forms.

(Hérité de BindableObject)
GetValues(BindableProperty, BindableProperty, BindableProperty)
Obsolète.

Pour un usage interne par la plateforme Xamarin.Forms.

(Hérité de BindableObject)
IsNullOrEmpty(Brush)
IsSet(BindableProperty)

Retourne true si la propriété cible existe et qu’elle a été configurée.

(Hérité de BindableObject)
OnBindingContextChanged()

Substituez cette méthode pour exécuter une action lorsque le BindingContext change.

(Hérité de BindableObject)
OnPropertyChanged(String)

Appelez cette méthode à partir d’une classe enfant pour avertir qu’un changement s’est produit au niveau d’une propriété.

(Hérité de BindableObject)
OnPropertyChanging(String)

Appelez cette méthode à partir d’une classe enfant pour avertir qu’un changement va se produire au niveau d’une propriété.

(Hérité de BindableObject)
RemoveBinding(BindableProperty)

Supprime une liaison précédemment définie.

(Hérité de BindableObject)
SetBinding(BindableProperty, BindingBase)

Affecte une liaison à une propriété.

(Hérité de BindableObject)
SetValue(BindableProperty, Object)

Définit la valeur de la propriété spécifiée.

(Hérité de BindableObject)
SetValue(BindablePropertyKey, Object)

Définit la valeur de propertyKey.

(Hérité de BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

Pour un usage interne par la plateforme Xamarin.Forms.

(Hérité de BindableObject)
UnapplyBindings()

Supprime toutes les liaisons précédemment définies.

(Hérité de BindableObject)

Événements

BindingContextChanged

Déclenché chaque fois que la propriété BindingContext est modifiée.

(Hérité de BindableObject)
PropertyChanged

Déclenché lorsqu’une propriété a été modifiée.

(Hérité de BindableObject)
PropertyChanging

Déclenché lorsqu’une propriété est sur le point d’être modifiée.

(Hérité de BindableObject)

Implémentations d’interfaces explicites

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

Pour un usage interne par la plateforme Xamarin.Forms.

(Hérité de BindableObject)

Méthodes d’extension

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

Crée et applique une liaison à une propriété.

SetBinding<TSource>(BindableObject, BindableProperty, Expression<Func<TSource,Object>>, BindingMode, IValueConverter, String)
Obsolète.

Crée et applique une liaison à partir d’une expression.

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

S’applique à