SymbolBarGalleryItemViewModel Class
Represents a gallery item view model for a symbol.
public class SymbolBarGalleryItemViewModel : BarGalleryItemViewModel<string>, IBarGalleryItemViewModel, INotifyPropertyChanged, IEquatable<IBarGalleryItemViewModel>
- Inheritance:
- System.Object ObservableObjectBase BarGalleryItemViewModel<System.String> Object
- Implements:
- IBarGalleryItemViewModel System.IEquatable<IBarGalleryItemViewModel>
Constructors
SymbolBarGalleryItemViewModel()
Initializes a new instance of the class with a default category.
public SymbolBarGalleryItemViewModel()
SymbolBarGalleryItemViewModel(String)
Initializes a new instance of the class with the specified symbol and a default category.
public SymbolBarGalleryItemViewModel(string value)
Parameter | Type | Description |
---|---|---|
value | System.String | The string symbol. |
SymbolBarGalleryItemViewModel(String, String)
Initializes a new instance of the class with the specified symbol and category.
public SymbolBarGalleryItemViewModel(string value, string category)
Parameter | Type | Description |
---|---|---|
value | System.String | The string symbol. |
category | System.String | The item's category, or |
SymbolBarGalleryItemViewModel(String, String, String)
Initializes a new instance of the class with the specified symbol, category, and label.
public SymbolBarGalleryItemViewModel(string value, string category, string label)
Parameter | Type | Description |
---|---|---|
value | System.String | The string symbol. |
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<String>.CoerceLabel()
- BarGalleryItemViewModel<String>.ConvertEnumValueToString<TEnum>(TEnum, Boolean)
- BarGalleryItemViewModel<String>.ConvertEnumValueToString(Type, Object, Boolean)
- BarGalleryItemViewModel<String>.Equals(Object)
- BarGalleryItemViewModel<String>.Equals(IBarGalleryItemViewModel)
- BarGalleryItemViewModel<String>.GetHashCode()
- BarGalleryItemViewModel<String>.OnValueChanged()
- BarGalleryItemViewModel<String>.ToString()
- BarGalleryItemViewModel<String>.IBarGalleryItemViewModel.Value
- BarGalleryItemViewModel<String>.Category
- BarGalleryItemViewModel<String>.Description
- BarGalleryItemViewModel<String>.ImageSource
- BarGalleryItemViewModel<String>.IsLabelVisible
- BarGalleryItemViewModel<String>.KeyTipText
- BarGalleryItemViewModel<String>.Label
- BarGalleryItemViewModel<String>.LayoutBehavior
- BarGalleryItemViewModel<String>.Value
- ObservableObjectBase.NotifyPropertyChanged(String)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.PropertyChanged
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetType()
- Object.MemberwiseClone()