TextStyleBarGalleryItemViewModel Class
Represents a gallery item view model for a text style (font, color, weight, etc.).
public class TextStyleBarGalleryItemViewModel : BarGalleryItemViewModel<TextStyle>, IBarGalleryItemViewModel, IEquatable<IBarGalleryItemViewModel>
- Inheritance:
- object ObservableObjectBase BarGalleryItemViewModel<TextStyle> object
- Implements:
- IBarGalleryItemViewModel IEquatable<IBarGalleryItemViewModel>
Constructors
TextStyleBarGalleryItemViewModel()
Initializes a new instance of the class with a default text style and category.
public TextStyleBarGalleryItemViewModel()
TextStyleBarGalleryItemViewModel(TextStyle)
Initializes a new instance of the class with the specified text style and default category.
public TextStyleBarGalleryItemViewModel(TextStyle value)
Parameter | Type | Description |
---|---|---|
value | TextStyle | The text style. |
TextStyleBarGalleryItemViewModel(TextStyle, string)
Initializes a new instance of the class with the specified text style and category.
public TextStyleBarGalleryItemViewModel(TextStyle value, string category)
Parameter | Type | Description |
---|---|---|
value | TextStyle | The text style. |
category | string | The item's category, or |
TextStyleBarGalleryItemViewModel(TextStyle, string, string)
Initializes a new instance of the class with the specified text style, category, and label.
public TextStyleBarGalleryItemViewModel(TextStyle value, string category, string label)
Parameter | Type | Description |
---|---|---|
value | TextStyle | The text style. |
category | string | The item's category, or |
label | string | The text label to display, or |
Properties
DefaultCategory
Gets the localizable default category to be used for view models of this type.
Inherited Members
- BarGalleryItemViewModel<TextStyle>.CoerceLabel()
- BarGalleryItemViewModel<TextStyle>.ConvertEnumValueToString<TEnum>(TEnum, bool)
- BarGalleryItemViewModel<TextStyle>.ConvertEnumValueToString(Type, object, bool)
- BarGalleryItemViewModel<TextStyle>.Equals(object)
- BarGalleryItemViewModel<TextStyle>.Equals(IBarGalleryItemViewModel)
- BarGalleryItemViewModel<TextStyle>.GetHashCode()
- BarGalleryItemViewModel<TextStyle>.OnValueChanged()
- BarGalleryItemViewModel<TextStyle>.ToString()
- BarGalleryItemViewModel<TextStyle>.Category
- BarGalleryItemViewModel<TextStyle>.Description
- BarGalleryItemViewModel<TextStyle>.ImageSource
- BarGalleryItemViewModel<TextStyle>.IsLabelVisible
- BarGalleryItemViewModel<TextStyle>.IsVisible
- BarGalleryItemViewModel<TextStyle>.KeyTipText
- BarGalleryItemViewModel<TextStyle>.Label
- BarGalleryItemViewModel<TextStyle>.LayoutBehavior
- BarGalleryItemViewModel<TextStyle>.Value
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object, object)
- object.ReferenceEquals(object, object)