Brush Clase

Definición

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.BrushTypeConverter))]
public abstract class Brush : Xamarin.Forms.BindableObject
type Brush = class
    inherit BindableObject
Herencia
Derivado
Atributos

Constructores

Brush()

Campos

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

Propiedades

BindingContext

Obtiene o establece el objeto que contiene las propiedades que van a dirigir las propiedades enlazadas que pertenecen a este BindableObject.

(Heredado de BindableObject)
Default
Dispatcher (Heredado de BindableObject)
IsEmpty

Métodos

ApplyBindings()

Aplica los enlaces a BindingContext.

(Heredado de BindableObject)
ClearValue(BindableProperty)

Borra cualquier valor establecido por SetValue para property.

(Heredado de BindableObject)
ClearValue(BindablePropertyKey)

Borra cualquier valor establecido por SetValue para la propiedad que propertyKey identifica.

(Heredado de BindableObject)
CoerceValue(BindableProperty) (Heredado de BindableObject)
CoerceValue(BindablePropertyKey) (Heredado de BindableObject)
GetValue(BindableProperty)

Devuelve el valor contenido en la propiedad BindableProperty.

(Heredado de BindableObject)
GetValues(BindableProperty, BindableProperty)
Obsoleto.

Para uso interno de la plataforma de Xamarin.Forms.

(Heredado de BindableObject)
GetValues(BindableProperty, BindableProperty, BindableProperty)
Obsoleto.

Para uso interno de la plataforma de Xamarin.Forms.

(Heredado de BindableObject)
IsNullOrEmpty(Brush)
IsSet(BindableProperty)

Devuelve true si existe y se ha establecido la propiedad de destino.

(Heredado de BindableObject)
OnBindingContextChanged()

Reemplaza este método para ejecutar una acción cuando BindingContext cambia.

(Heredado de BindableObject)
OnPropertyChanged(String)

Llama a este método desde una clase secundaria para notificar que se produjo un cambio en una propiedad.

(Heredado de BindableObject)
OnPropertyChanging(String)

Llama a este método desde una clase secundaria para notificar que se va a producir un cambio en una propiedad.

(Heredado de BindableObject)
RemoveBinding(BindableProperty)

Quita un enlace definida previamente.

(Heredado de BindableObject)
SetBinding(BindableProperty, BindingBase)

Asigna un enlace a una propiedad.

(Heredado de BindableObject)
SetValue(BindableProperty, Object)

Establece el valor de la propiedad especificada.

(Heredado de BindableObject)
SetValue(BindablePropertyKey, Object)

Establece el valor de la propiedad propertyKey.

(Heredado de BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

Para uso interno de la plataforma de Xamarin.Forms.

(Heredado de BindableObject)
UnapplyBindings()

Deshace todos los enlaces establecidos previamente.

(Heredado de BindableObject)

Eventos

BindingContextChanged

Se produce siempre que cambia la propiedad BindingContext.

(Heredado de BindableObject)
PropertyChanged

Se produce cuando ha cambiado una propiedad.

(Heredado de BindableObject)
PropertyChanging

Se produce cuando una propiedad está a punto de cambiar.

(Heredado de BindableObject)

Implementaciones de interfaz explícitas

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

Para uso interno de la plataforma de Xamarin.Forms.

(Heredado de BindableObject)

Métodos de extensión

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

Crea y aplica un enlace a una propiedad.

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

Crea y aplica un enlace desde una expresión.

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

Se aplica a