Bagikan melalui


Brush Kelas

Definisi

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.BrushTypeConverter))]
public abstract class Brush : Xamarin.Forms.BindableObject
type Brush = class
    inherit BindableObject
Warisan
System.Object
Brush
Turunan
Atribut

Konstruktor

Brush()

Bidang

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

Properti

BindingContext

Mendapatkan atau mengatur objek yang berisi properti yang akan ditargetkan oleh properti terikat milik ini BindableObject.

(Diperoleh dari BindableObject)
Default
Dispatcher (Diperoleh dari BindableObject)
IsEmpty

Metode

ApplyBindings()

Terapkan pengikatan ke BindingContext.

(Diperoleh dari BindableObject)
ClearValue(BindableProperty)

Menghapus nilai apa pun yang ditetapkan oleh SetValue untuk property.

(Diperoleh dari BindableObject)
ClearValue(BindablePropertyKey)

Menghapus nilai apa pun yang ditetapkan oleh SetValue untuk properti yang diidentifikasi oleh propertyKey.

(Diperoleh dari BindableObject)
CoerceValue(BindableProperty) (Diperoleh dari BindableObject)
CoerceValue(BindablePropertyKey) (Diperoleh dari BindableObject)
GetValue(BindableProperty)

Mengembalikan nilai yang terkandung dalam BindableProperty.

(Diperoleh dari BindableObject)
GetValues(BindableProperty, BindableProperty)
Kedaluwarsa.

Untuk penggunaan internal oleh Xamarin. Forms platform.

(Diperoleh dari BindableObject)
GetValues(BindableProperty, BindableProperty, BindableProperty)
Kedaluwarsa.

Untuk penggunaan internal oleh Xamarin. Forms platform.

(Diperoleh dari BindableObject)
IsNullOrEmpty(Brush)
IsSet(BindableProperty)

Mengembalikan true jika properti target ada dan telah ditetapkan.

(Diperoleh dari BindableObject)
OnBindingContextChanged()

Ambil alih metode ini untuk menjalankan tindakan ketika BindingContext berubah.

(Diperoleh dari BindableObject)
OnPropertyChanged(String)

Panggil metode ini dari kelas anak untuk memberi tahu bahwa perubahan terjadi pada properti.

(Diperoleh dari BindableObject)
OnPropertyChanging(String)

Panggil metode ini dari kelas anak untuk memberi tahu bahwa perubahan akan terjadi pada properti.

(Diperoleh dari BindableObject)
RemoveBinding(BindableProperty)

Menghapus pengikatan yang ditetapkan sebelumnya.

(Diperoleh dari BindableObject)
SetBinding(BindableProperty, BindingBase)

Menetapkan pengikatan ke properti.

(Diperoleh dari BindableObject)
SetValue(BindableProperty, Object)

Mengatur nilai properti yang ditentukan.

(Diperoleh dari BindableObject)
SetValue(BindablePropertyKey, Object)

Mengatur nilai propertyKey.

(Diperoleh dari BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

Untuk penggunaan internal oleh Xamarin. Forms platform.

(Diperoleh dari BindableObject)
UnapplyBindings()

Membatalkan semua pengikatan yang ditetapkan sebelumnya.

(Diperoleh dari BindableObject)

Acara

BindingContextChanged

Dimunculkan setiap kali BindingContext properti berubah.

(Diperoleh dari BindableObject)
PropertyChanged

Dimunculkan ketika properti telah berubah.

(Diperoleh dari BindableObject)
PropertyChanging

Dimunculkan ketika properti akan berubah.

(Diperoleh dari BindableObject)

Implementasi Antarmuka Eksplisit

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

Untuk penggunaan internal oleh Xamarin. Forms platform.

(Diperoleh dari BindableObject)

Metode Ekstensi

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

Membuat dan menerapkan pengikatan ke properti.

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

Membuat dan menerapkan pengikatan dari ekspresi.

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

Berlaku untuk