MiniToolBarViewModel Class
Represents a view model for a mini-toolbar control.
public class MiniToolBarViewModel : ObservableObjectBase
- Inheritance:
- object ObservableObjectBase object
Constructors
MiniToolBarViewModel()
Initializes an instance of the class.
public MiniToolBarViewModel()
Properties
CanUseMultiRowLayout
Gets or sets whether the items can be arranged in a multi-row layout.
public bool CanUseMultiRowLayout { get; set; }
Property Value
- bool:
true
if the items can be arranged in a multi-row layout; otherwise,false
. The default value isfalse
.
Items
Gets the collection of items in the control.
public ObservableCollection<object> Items { get; }
Property Value
- ObservableCollection<object>:
The collection of items in the control.
UserInterfaceDensity
Gets or sets a UserInterfaceDensity that indicates how compact or spacious the UI should appear.
public UserInterfaceDensity UserInterfaceDensity { get; set; }
Property Value
- UserInterfaceDensity:
A UserInterfaceDensity that indicates how compact or spacious the UI should appear. The default value is Compact.
Methods
ToString()
Returns the string representation of this object.
Inherited Members
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()