A service class that provides attached properties that are used throughout the various bar controls.
- Inheritance:
- object AvaloniaObject object
Properties
Current
The instance of Bar
Property Value
Remarks
The value of this property is thread-specific and should only be accessed from the same thread that created the control which is using the service.
InputGestureDisplayStringProvider
The provider which will be used to determine the display string of a gesture associated with an object (e.g., "Ctrl+C").
Property Value
- IInput
Gesture :Display String Provider The IInput
Gesture to be used. When not defined, a default InputDisplay String Provider Gesture is used.Display String Provider
KeyTipTextGenerator
The key tip text generator which will be used to automatically create key tip text from various sources (e.g., a label).
Property Value
- IKey
Tip :Text Generator The IKey
Tip to be used. When not defined, a default KeyText Generator Tip is used.Text Generator
LabelGenerator
The label generator that will be used to automatically create labels from various sources (e.g., a key).
Property Value
- ILabel
Generator : The ILabel
Generator to be used. When not defined, a default LabelGenerator is used.
Methods
GetAllowContextMenu(AvaloniaObject)
Gets the value of the AllowContextMenu
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetCanCloneToRibbonQuickAccessToolBar(AvaloniaObject)
Gets the value of the CanCloneToRibbonQuickAccessToolBar
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetCanResolveIcons(AvaloniaObject)
Gets the value of the CanResolveIcons
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetCloneToRibbonQuickAccessToolBarStrategy(AvaloniaObject)
Gets the value of the CloneToRibbonQuickAccessToolBarStrategy
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- Clone
To :Ribbon Quick Access Tool Bar Strategy The object's value.
GetHasExternalHeader(AvaloniaObject)
Gets the value of the HasExternalHeader
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetHasLabel(AvaloniaObject)
Gets the value of the HasLabel
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetIconResolved(AvaloniaObject)
Gets the value of the IconResolved
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- object:
The object's value.
GetInputGesture(AvaloniaObject)
Gets the value of the InputGesture
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- KeyGesture:
The object's value.
GetIsChecked(AvaloniaObject)
Gets the value of the IsChecked
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetIsInRibbonQuickAccessToolBar(AvaloniaObject)
Gets the value of the IsInRibbonQuickAccessToolBar
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetIsInWindowTitleBar(AvaloniaObject)
Gets the value of the IsInWindowTitleBar
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetIsInputGestureTextVisible(AvaloniaObject)
Gets the value of the IsInputGestureTextVisible
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetIsLabelVisible(AvaloniaObject)
Gets the value of the IsLabelVisible
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetIsMenuControl(AvaloniaObject)
Gets the value of the IsMenuControl
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetIsMenuItemHost(AvaloniaObject)
Gets the value of the IsMenuItemHost
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetIsOverflowMenuItemHost(AvaloniaObject)
Gets the value of the IsOverflowMenuItemHost
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetIsVerticalLayoutOrientationSupported(AvaloniaObject)
Gets the value of the IsVerticalLayoutOrientationSupported
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- bool:
The object's value.
GetItemContainerTemplateSelector(AvaloniaObject)
Gets the value of the ItemContainerTemplateSelector
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- IItem
Container :Template Selector The object's value.
GetItemLayoutOrientation(AvaloniaObject)
Gets the value of the ItemLayoutOrientation
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- Orientation:
The object's value.
GetKey(AvaloniaObject)
Gets the value of the Key
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- string:
The object's value.
GetLabel(AvaloniaObject)
Gets the value of the Label
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- string:
The object's value.
GetLargeIcon(AvaloniaObject)
Gets the value of the LargeIcon
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- object:
The object's value.
GetMediumIcon(AvaloniaObject)
Gets the value of the MediumIcon
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- object:
The object's value.
GetPanelSpacingSuggestion(AvaloniaObject)
Gets the value of the PanelSpacingSuggestion
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- Panel
Spacing :Suggestion The object's value.
GetRootBarControl(AvaloniaObject)
Gets the value of the RootBarControl
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- IRoot
Bar :Control The object's value.
GetSmallIcon(AvaloniaObject)
Gets the value of the SmallIcon
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- object:
The object's value.
GetTitle(AvaloniaObject)
Gets the value of the Title
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- string:
The object's value.
GetVariantSize(AvaloniaObject)
Gets the value of the VariantSize
attached property for the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object from which the property value is read. |
Returns
- Variant
Size : The object's value.
SetAllowContextMenu(AvaloniaObject, bool)
Sets the value of the AllowContextMenu
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetCanCloneToRibbonQuickAccessToolBar(AvaloniaObject, bool)
Sets the value of the CanCloneToRibbonQuickAccessToolBar
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetCanResolveIcons(AvaloniaObject, bool)
Sets the value of the CanResolveIcons
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetCloneToRibbonQuickAccessToolBarStrategy(AvaloniaObject, CloneToRibbonQuickAccessToolBarStrategy)
Sets the value of the CloneToRibbonQuickAccessToolBarStrategy
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | Clone |
The value to set. |
SetHasExternalHeader(AvaloniaObject, bool)
Sets the value of the HasExternalHeader
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetInputGesture(AvaloniaObject, KeyGesture?)
Sets the value of the InputGesture
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | KeyGesture | The value to set. |
SetIsChecked(AvaloniaObject, bool)
Sets the value of the IsChecked
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetIsInputGestureTextVisible(AvaloniaObject, bool)
Sets the value of the IsInputGestureTextVisible
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetIsMenuControl(AvaloniaObject, bool)
Sets the value of the IsMenuControl
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetIsMenuItemHost(AvaloniaObject, bool)
Sets the value of the IsMenuItemHost
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetIsOverflowMenuItemHost(AvaloniaObject, bool)
Sets the value of the IsOverflowMenuItemHost
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetIsVerticalLayoutOrientationSupported(AvaloniaObject, bool)
Sets the value of the IsVerticalLayoutOrientationSupported
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | bool | The value to set. |
SetItemContainerTemplateSelector(AvaloniaObject, IItemContainerTemplateSelector)
Sets the value of the ItemContainerTemplateSelector
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | IItem |
The value to set. |
SetItemLayoutOrientation(AvaloniaObject, Orientation)
Sets the value of the ItemLayoutOrientation
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | Orientation | The value to set. |
SetKey(AvaloniaObject, string?)
Sets the value of the Key
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | string | The value to set. |
SetLabel(AvaloniaObject, string?)
Sets the value of the Label
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | string | The value to set. |
SetLargeIcon(AvaloniaObject, object?)
Sets the value of the LargeIcon
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | object | The value to set. |
SetMediumIcon(AvaloniaObject, object?)
Sets the value of the MediumIcon
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | object | The value to set. |
SetPanelSpacingSuggestion(AvaloniaObject, PanelSpacingSuggestion)
Sets the value of the PanelSpacingSuggestion
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | Panel |
The value to set. |
SetRootBarControl(AvaloniaObject, IRootBarControl?)
Sets the value of the RootBarControl
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | IRoot |
The value to set. |
SetSmallIcon(AvaloniaObject, object?)
Sets the value of the SmallIcon
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | object | The value to set. |
SetTitle(AvaloniaObject, string?)
Sets the value of the Title
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | string | The value to set. |
SetVariantSize(AvaloniaObject, VariantSize)
Sets the value of the VariantSize
attached property to the specified object.
Parameter | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the attached property is written. |
value | Variant |
The value to set. |
Fields
AllowContextMenuProperty
Defines the AllowContextMenu
attached property.
CanCloneToRibbonQuickAccessToolBarProperty
Defines the CanCloneToRibbonQuickAccessToolBar
attached property.
CanResolveIconsProperty
Defines the CanResolveIcons
attached property.
CloneToRibbonQuickAccessToolBarStrategyProperty
Defines the CloneToRibbonQuickAccessToolBarStrategy
attached property.
HasExternalHeaderProperty
Defines the HasExternalHeader
attached property.
HasLabelProperty
Defines the HasLabel
attached property.
IconResolvedProperty
Defines the IconResolved
attached property.
InputGestureProperty
Defines the InputGesture
attached property.
IsCheckedProperty
Defines the IsChecked
attached property.
IsInRibbonQuickAccessToolBarProperty
Defines the IsInRibbonQuickAccessToolBar
attached property.
IsInWindowTitleBarProperty
Defines the IsInWindowTitleBar
attached property.
IsInputGestureTextVisibleProperty
Defines the IsInputGestureTextVisible
attached property.
IsLabelVisibleProperty
Defines the IsLabelVisible
attached property.
IsMenuControlProperty
Defines the IsMenuControl
attached property.
IsMenuItemHostProperty
Defines the IsMenuItemHost
attached property.
IsOverflowMenuItemHostProperty
Defines the IsOverflowMenuItemHost
attached property.
IsVerticalLayoutOrientationSupportedProperty
Defines the IsVerticalLayoutOrientationSupported
attached property.
ItemContainerTemplateSelectorProperty
Defines the ItemContainerTemplateSelector
attached property.
ItemLayoutOrientationProperty
Defines the ItemLayoutOrientation
attached property.
KeyProperty
Defines the Key
attached property.
LabelProperty
Defines the Label
attached property.
LargeIconProperty
Defines the LargeIcon
attached property.
MediumIconProperty
Defines the MediumIcon
attached property.
PanelSpacingSuggestionProperty
Defines the PanelSpacingSuggestion
attached property.
RootBarControlProperty
Defines the RootBarControl
attached property.
SmallIconProperty
Defines the SmallIcon
attached property.
TitleProperty
Defines the Title
attached property.
ToolBarItemCollapseBehaviorProperty
Defines the ToolBarItemCollapseBehavior
attached property.
ToolBarItemVariantBehaviorProperty
Defines the ToolBarItemVariantBehavior
attached property.
VariantSizeProperty
Defines the VariantSize
attached property.
Inherited Members
- AvaloniaObject.CheckAccess()
- AvaloniaObject.VerifyAccess()
- AvaloniaObject.ClearValue(AvaloniaProperty)
- AvaloniaObject.ClearValue<T>(AvaloniaProperty<T>)
- AvaloniaObject.ClearValue<T>(StyledProperty<T>)
- AvaloniaObject.ClearValue<T>(DirectPropertyBase<T>)
-
Avalonia
Object. Equals(object) - AvaloniaObject.GetHashCode()
- AvaloniaObject.GetValue(AvaloniaProperty)
- AvaloniaObject.GetValue<T>(StyledProperty<T>)
- AvaloniaObject.GetValue<T>(DirectPropertyBase<T>)
- AvaloniaObject.GetBaseValue<T>(StyledProperty<T>)
- AvaloniaObject.IsAnimating(AvaloniaProperty)
- AvaloniaObject.IsSet(AvaloniaProperty)
-
Avalonia
Object. Set Value(Avalonia Property, object, Binding Priority) - AvaloniaObject.SetValue<T>(StyledProperty<T>, T, BindingPriority)
- AvaloniaObject.SetValue<T>(DirectPropertyBase<T>, T)
-
Avalonia
Object. Set Current Value(Avalonia Property, object) - AvaloniaObject.SetCurrentValue<T>(StyledProperty<T>, T)
- AvaloniaObject.Bind(AvaloniaProperty, IBinding)
- AvaloniaObject.Bind(AvaloniaProperty, IObservable<object>, BindingPriority)
- AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<object>, BindingPriority)
- AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<T>, BindingPriority)
- AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<BindingValue<T>>, BindingPriority)
- AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<object>)
- AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<T>)
- AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<BindingValue<T>>)
- AvaloniaObject.CoerceValue(AvaloniaProperty)
-
Avalonia
Object. Update Data Validation(Avalonia Property, Binding Value Type, Exception) - AvaloniaObject.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)
- AvaloniaObject.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
- AvaloniaObject.RaisePropertyChanged<T>(DirectPropertyBase<T>, T, T)
- AvaloniaObject.SetAndRaise<T>(DirectPropertyBase<T>, ref T, T)
- AvaloniaObject.InheritanceParent
- AvaloniaObject.this[AvaloniaProperty]
- AvaloniaObject.this[IndexerDescriptor]
- AvaloniaObject.PropertyChanged
-
object.
Get Type() -
object.
Memberwise Clone() -
object.
To String() -
object.
Equals(object, object) -
object.
Reference Equals(object, object)