TextStyleBarGalleryItemViewModel Class
Represents a gallery item view model for a text style (font, color, weight, etc.).
public class TextStyleBarGalleryItemViewModel : BarGalleryItemViewModel<TextStyle>, IBarGalleryItemViewModel, INotifyPropertyChanged, IEquatable<IBarGalleryItemViewModel>
- Inheritance:
- System.Object ObservableObjectBase BarGalleryItemViewModel<TextStyle> Object
- Implements:
- IBarGalleryItemViewModel System.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 | System.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 | System.String | The item's category, or |
label | System.String | The text label to display, or |
Properties
DefaultCategory
Gets the localizable default category to be used for view models of this type.
public static string DefaultCategory { get; }
Property Value
- System.String:
The string category name.
Inherited Members
- BarGalleryItemViewModel<TextStyle>.CoerceLabel()
- BarGalleryItemViewModel<TextStyle>.ConvertEnumValueToString<TEnum>(TEnum, Boolean)
- BarGalleryItemViewModel<TextStyle>.ConvertEnumValueToString(Type, Object, Boolean)
- BarGalleryItemViewModel<TextStyle>.Equals(Object)
- BarGalleryItemViewModel<TextStyle>.Equals(IBarGalleryItemViewModel)
- BarGalleryItemViewModel<TextStyle>.GetHashCode()
- BarGalleryItemViewModel<TextStyle>.OnValueChanged()
- BarGalleryItemViewModel<TextStyle>.ToString()
- BarGalleryItemViewModel<TextStyle>.IBarGalleryItemViewModel.Value
- BarGalleryItemViewModel<TextStyle>.Category
- BarGalleryItemViewModel<TextStyle>.Description
- BarGalleryItemViewModel<TextStyle>.ImageSource
- BarGalleryItemViewModel<TextStyle>.IsLabelVisible
- BarGalleryItemViewModel<TextStyle>.KeyTipText
- BarGalleryItemViewModel<TextStyle>.Label
- BarGalleryItemViewModel<TextStyle>.LayoutBehavior
- BarGalleryItemViewModel<TextStyle>.Value
- ObservableObjectBase.NotifyPropertyChanged(String)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.PropertyChanged
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetType()
- Object.MemberwiseClone()