ChromedTitleBar Class
Renders a titlebar with optional left, center, and right content areas.
[TemplatePart("PART_Background", typeof(Control))]
[TemplatePart("PART_CaptionButtons", typeof(Control))]
[TemplatePart("PART_CloseButton", typeof(Button))]
[TemplatePart("PART_FullScreenButton", typeof(Button))]
[TemplatePart("PART_Icon", typeof(Control))]
[TemplatePart("PART_MaximizeButton", typeof(Button))]
[TemplatePart("PART_MinimizeButton", typeof(Button))]
[TemplatePart("PART_RestoreButton", typeof(Button))]
[PseudoClasses(new string[] { ":active" })]
[PseudoClasses(new string[] { ":fullscreen", ":maximized", ":minimized", ":normal" })]
public class ChromedTitleBar : ContentControl, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue
- Inheritance:
- object AvaloniaObject Animatable StyledElement Visual Layoutable Interactive InputElement Control TemplatedControl ContentControl object
- Derived:
- WindowTitleBar
- Implements:
- IDataContextProvider ILogical IThemeVariantHost IResourceHost IResourceNode IStyleHost ISetLogicalParent ISetInheritanceParent IStyleable INamed IInputElement IDataTemplateHost ISetterValue
Remarks
This control class does not inherit the native Avalonia.Controls.Chrome.TitleBar class because Avalonia.Controls.Chrome.TitleBar contains logic that hides the titlebar in certain circumstances, whereas ChromedTitleBar is designed to be usable in more scenarios.
Constructors
ChromedTitleBar()
Initializes a new instance of the class.
public ChromedTitleBar()
Properties
CanCloseOnIconDoubleTapped
Indicates if CloseCommand is invoked when the icon is double-tapped.
public bool CanCloseOnIconDoubleTapped { get; set; }
Property Value
- bool:
The default value is
true
.
CanResize
Indicates if resize commands MaximizeCommand and ToggleFullScreenCommand should be enabled by default.
CanToggleWindowStateOnDoubleTapped
Indicates if WindowState is toggled between Avalonia.Controls.WindowState.Normal and Avalonia.Controls.WindowState.Maximized when the titlebar is double-tapped.
public bool CanToggleWindowStateOnDoubleTapped { get; set; }
Property Value
- bool:
The default value is
true
.
CaptionButtonTheme
The Avalonia.Styling.ControlTheme to apply to caption buttons.
public ControlTheme? CaptionButtonTheme { get; set; }
Property Value
- ControlTheme
CaptionButtonsHaveFarAffinity
Indicates if the caption buttons should appear on the far side of the title bar.
public bool CaptionButtonsHaveFarAffinity { get; set; }
Property Value
- bool:
The default value is
true
.
CloseCommand
The command invoked by the close button.
HasCaptionButtons
Indicates if at least one caption button is visible.
HasDefaultMenu
Indicates if a default menu is generated when the pointer is pressed over the Icon or when requesting a context menu.
public bool HasDefaultMenu { get; set; }
Property Value
- bool:
The default value is
true
on Windows OS or Linux; otherwisefalse
.
See Also
HasDefaultMenuIcons
Indicates if the default menu is displayed when the pointer is pressed over the Icon or when requesting a context menu.
public bool HasDefaultMenuIcons { get; set; }
Property Value
- bool:
The default value is
true
on Windows OS.
See Also
Icon
The content for the icon.
IconControl
The control that defines the icon within the template.
public Control? IconControl { get; }
Property Value
- Control
IconTemplate
The template used to display the Icon.
public IDataTemplate? IconTemplate { get; set; }
Property Value
- IDataTemplate
IsActive
Indicates whether the titlebar is in an active state.
IsCloseButtonAllowed
Indicates if the titlebar is allowed to display the close button.
public bool IsCloseButtonAllowed { get; set; }
Property Value
- bool:
true
to allow the button to be visible when appropriate; otherwisefalse
to always hide the button. The default value istrue
.
IsFullScreenButtonAllowed
Indicates if the titlebar is allowed to display the toggle full screen button.
public bool IsFullScreenButtonAllowed { get; set; }
Property Value
- bool:
true
to allow the button to be visible when appropriate; otherwisefalse
to always hide the button. The default value isfalse
.
IsIconVisible
Indicates if the icon is visible.
public bool? IsIconVisible { get; set; }
Property Value
- bool?:
true
to force the icon to be visible,false
to force the icon to be hidden, ornull
to show the icon only when icon content is available. The default value isnull
.
IsMaximizeButtonAllowed
Indicates if the titlebar is allowed to display the maximize button.
public bool IsMaximizeButtonAllowed { get; set; }
Property Value
- bool:
true
to allow the button to be visible when appropriate; otherwisefalse
to always hide the button. The default value istrue
.
IsMinimizeButtonAllowed
Indicates if the titlebar is allowed to display the minimize button.
public bool IsMinimizeButtonAllowed { get; set; }
Property Value
- bool:
true
to allow the button to be visible when appropriate; otherwisefalse
to always hide the button. The default value istrue
.
IsRestoreButtonAllowed
Indicates if the titlebar is allowed to display the restore button.
public bool IsRestoreButtonAllowed { get; set; }
Property Value
- bool:
true
to allow the button to be visible when appropriate; otherwisefalse
to always hide the button. The default value istrue
.
LeftContent
The content that appears on the left side of the titlebar.
LeftContentTemplate
The Avalonia.Controls.Templates.IDataTemplate for the content that appears on the left side of the titlebar.
public IDataTemplate? LeftContentTemplate { get; set; }
Property Value
- IDataTemplate
MaximizeCommand
The command invoked to set maximized window state.
MinimizeCommand
The command invoked to set minimized window state.
PlatformName
The name of the platform whose's appearance should be emulated by the title bar.
public string? PlatformName { get; set; }
Property Value
- string:
The case-insensitive platform name (e.g., "Windows", "Linux", "macOS"). The default value is based on the current platform (e.g., "Windows" when running on Windows OS).
RestoreCommand
The command invoked to restore window state to normal.
RightContent
The content that appears on the right side of the titlebar.
RightContentTemplate
The Avalonia.Controls.Templates.IDataTemplate for the content that appears on the right side of the titlebar.
public IDataTemplate? RightContentTemplate { get; set; }
Property Value
- IDataTemplate
TemplateSettings
The ChromedTitleBar.ChromedTitleBarTemplateSettings instance that provides calculated values for use with the control's theme or template.
public ChromedTitleBar.ChromedTitleBarTemplateSettings TemplateSettings { get; }
Property Value
ToggleFullScreenCommand
The command invoked to toggle full screen window state.
WindowState
A WindowState indicating the current state of the window.
public WindowState WindowState { get; set; }
Property Value
- WindowState:
The default value is Avalonia.Controls.WindowState.Normal.
Methods
CreateDefaultMenu(bool)
Creates the default context menu to be used when HasDefaultMenu is set to true
.
protected virtual MenuFlyout? CreateDefaultMenu(bool includeIcons)
Parameter | Type | Description |
---|---|---|
includeIcons | bool |
|
Returns
- MenuFlyout:
The default context menu.
GetIsPointerOverCaptionButtons(Control)
The get accessor for the attached IsPointerOverCaptionButtonsProperty.
public static bool GetIsPointerOverCaptionButtons(Control obj)
Parameter | Type | Description |
---|---|---|
obj | Control | The object to examine. |
Returns
- bool:
The value of the attached property.
OnApplyTemplate(TemplateAppliedEventArgs)
Called when the control's template is applied. In simple terms, this means the method is called just before the control is displayed.
protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | TemplateAppliedEventArgs | The event args. |
OnDoubleClicked(PointerPressedEventArgs, bool)
Invoked when a double click of the primary pointer button is detected over the control.
protected virtual void OnDoubleClicked(PointerPressedEventArgs e, bool isTapOverIcon)
Parameter | Type | Description |
---|---|---|
e | PointerPressedEventArgs | A Avalonia.Input.PointerPressedEventArgs that contains the event data. |
isTapOverIcon | bool |
|
Remarks
This method is based on the PointerPressed
event and not DoubleTapped
event.
OnMenuOpening(MenuEventArgs)
Called when the titlebar should display a context menu.
protected virtual void OnMenuOpening(MenuEventArgs e)
Parameter | Type | Description |
---|---|---|
e | MenuEventArgs | A MenuEventArgs that contains the event data. |
Remarks
This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.
OnPointerPressed(PointerPressedEventArgs)
Called before the Avalonia.Input.InputElement.PointerPressed event occurs.
protected override void OnPointerPressed(PointerPressedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | PointerPressedEventArgs | The event args. |
OnPointerReleased(PointerReleasedEventArgs)
Called before the Avalonia.Input.InputElement.PointerReleased event occurs.
protected override void OnPointerReleased(PointerReleasedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | PointerReleasedEventArgs | The event args. |
QueryHasCaptionButtons()
Queries the value to be assigned to HasCaptionButtons based on the current state.
SetIsPointerOverCaptionButtons(Control, bool)
The set accessor for the attached IsPointerOverCaptionButtonsProperty.
public static void SetIsPointerOverCaptionButtons(Control obj, bool value)
Parameter | Type | Description |
---|---|---|
obj | Control | The object to update. |
value | bool | The value to set. |
ToggleWindowState()
Toggles the window's state based on its current state.
protected void ToggleWindowState()
Remarks
This method is generally called when the title bar is double-tapped.
See Also
UpdatePseudoClasses()
Updates pseudo-classes for the control.
protected virtual void UpdatePseudoClasses()
Events
MenuOpening
Occurs when the titlebar should display a context menu.
Fields
CanCloseOnIconDoubleTappedProperty
Defines the CanCloseOnIconDoubleTapped property.
public static readonly StyledProperty<bool> CanCloseOnIconDoubleTappedProperty
CanResizeProperty
Defines the CanResize property.
public static readonly StyledProperty<bool> CanResizeProperty
CanToggleWindowStateOnDoubleTappedProperty
Defines the CanToggleWindowStateOnDoubleTapped property.
public static readonly StyledProperty<bool> CanToggleWindowStateOnDoubleTappedProperty
CaptionButtonThemeProperty
Defines the CaptionButtonTheme property.
public static readonly StyledProperty<ControlTheme?> CaptionButtonThemeProperty
CaptionButtonsHaveFarAffinityProperty
Defines the CaptionButtonsHaveFarAffinity property.
public static readonly StyledProperty<bool> CaptionButtonsHaveFarAffinityProperty
CloseCommandProperty
Defines the CloseCommand property.
public static readonly StyledProperty<ICommand?> CloseCommandProperty
HasCaptionButtonsProperty
Defines the HasCaptionButtons property.
public static readonly DirectProperty<ChromedTitleBar, bool> HasCaptionButtonsProperty
HasDefaultMenuIconsProperty
Defines the HasDefaultMenuIcons property.
public static readonly StyledProperty<bool> HasDefaultMenuIconsProperty
HasDefaultMenuProperty
Defines the HasDefaultMenu property.
public static readonly StyledProperty<bool> HasDefaultMenuProperty
IconProperty
Defines the Icon property.
public static readonly StyledProperty<object?> IconProperty
IconTemplateProperty
Defines the IconTemplate property.
public static readonly StyledProperty<IDataTemplate?> IconTemplateProperty
IsActiveProperty
Defines the IsActive property.
public static readonly StyledProperty<bool> IsActiveProperty
IsCloseButtonAllowedProperty
Defines the IsCloseButtonAllowed property.
public static readonly StyledProperty<bool> IsCloseButtonAllowedProperty
IsFullScreenButtonAllowedProperty
Defines the IsFullScreenButtonAllowed property.
public static readonly StyledProperty<bool> IsFullScreenButtonAllowedProperty
IsIconVisibleProperty
Defines the IsIconVisible property.
public static readonly StyledProperty<bool?> IsIconVisibleProperty
IsMaximizeButtonAllowedProperty
Defines the IsMaximizeButtonAllowed property.
public static readonly StyledProperty<bool> IsMaximizeButtonAllowedProperty
IsMinimizeButtonAllowedProperty
Defines the IsMinimizeButtonAllowed property.
public static readonly StyledProperty<bool> IsMinimizeButtonAllowedProperty
IsPointerOverCaptionButtonsProperty
Defines the IsPointerOverCaptionButtons
attached property.
public static readonly AttachedProperty<bool> IsPointerOverCaptionButtonsProperty
IsRestoreButtonAllowedProperty
Defines the IsRestoreButtonAllowed property.
public static readonly StyledProperty<bool> IsRestoreButtonAllowedProperty
LeftContentProperty
Defines the LeftContent property.
public static readonly StyledProperty<object?> LeftContentProperty
LeftContentTemplateProperty
Defines the LeftContentTemplate property.
public static readonly StyledProperty<IDataTemplate?> LeftContentTemplateProperty
MaximizeCommandProperty
Defines the MaximizeCommand property.
public static readonly StyledProperty<ICommand?> MaximizeCommandProperty
MenuOpeningEvent
Defines the MenuOpening event.
public static readonly RoutedEvent<MenuEventArgs> MenuOpeningEvent
MinimizeCommandProperty
Defines the MinimizeCommand property.
public static readonly StyledProperty<ICommand?> MinimizeCommandProperty
PlatformNameProperty
Defines the PlatformName property.
public static readonly StyledProperty<string?> PlatformNameProperty
RestoreCommandProperty
Defines the RestoreCommand property.
public static readonly StyledProperty<ICommand?> RestoreCommandProperty
RightContentProperty
Defines the RightContent property.
public static readonly StyledProperty<object?> RightContentProperty
RightContentTemplateProperty
Defines the RightContentTemplate property.
public static readonly StyledProperty<IDataTemplate?> RightContentTemplateProperty
ToggleFullScreenCommandProperty
Defines the ToggleFullScreenCommand property.
public static readonly StyledProperty<ICommand?> ToggleFullScreenCommandProperty
WindowStateProperty
Defines the WindowState property.
public static readonly StyledProperty<WindowState> WindowStateProperty
Inherited Members
- ContentControl.ContentProperty
- ContentControl.ContentTemplateProperty
- ContentControl.HorizontalContentAlignmentProperty
- ContentControl.VerticalContentAlignmentProperty
- ContentControl.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
- ContentControl.RegisterContentPresenter(ContentPresenter)
- ContentControl.Content
- ContentControl.ContentTemplate
- ContentControl.Presenter
- ContentControl.HorizontalContentAlignment
- ContentControl.VerticalContentAlignment
- TemplatedControl.BackgroundProperty
- TemplatedControl.BackgroundSizingProperty
- TemplatedControl.BorderBrushProperty
- TemplatedControl.BorderThicknessProperty
- TemplatedControl.CornerRadiusProperty
- TemplatedControl.FontFamilyProperty
- TemplatedControl.FontFeaturesProperty
- TemplatedControl.FontSizeProperty
- TemplatedControl.FontStyleProperty
- TemplatedControl.FontWeightProperty
- TemplatedControl.FontStretchProperty
- TemplatedControl.ForegroundProperty
- TemplatedControl.PaddingProperty
- TemplatedControl.TemplateProperty
- TemplatedControl.IsTemplateFocusTargetProperty
- TemplatedControl.TemplateAppliedEvent
- TemplatedControl.GetIsTemplateFocusTarget(Control)
- TemplatedControl.SetIsTemplateFocusTarget(Control, bool)
- TemplatedControl.ApplyTemplate()
- TemplatedControl.GetTemplateFocusTarget()
- TemplatedControl.OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs)
- TemplatedControl.OnDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs)
- TemplatedControl.OnTemplateChanged(AvaloniaPropertyChangedEventArgs)
- TemplatedControl.Background
- TemplatedControl.BackgroundSizing
- TemplatedControl.BorderBrush
- TemplatedControl.BorderThickness
- TemplatedControl.CornerRadius
- TemplatedControl.FontFamily
- TemplatedControl.FontFeatures
- TemplatedControl.FontSize
- TemplatedControl.FontStyle
- TemplatedControl.FontWeight
- TemplatedControl.FontStretch
- TemplatedControl.Foreground
- TemplatedControl.Padding
- TemplatedControl.Template
- TemplatedControl.TemplateApplied
- Control.FocusAdornerProperty
- Control.TagProperty
- Control.ContextMenuProperty
- Control.ContextFlyoutProperty
- Control.RequestBringIntoViewEvent
- Control.ContextRequestedEvent
- Control.LoadedEvent
- Control.UnloadedEvent
- Control.SizeChangedEvent
- Control.OnLoaded(RoutedEventArgs)
- Control.OnUnloaded(RoutedEventArgs)
- Control.OnSizeChanged(SizeChangedEventArgs)
- Control.OnAttachedToVisualTreeCore(VisualTreeAttachmentEventArgs)
- Control.OnDetachedFromVisualTreeCore(VisualTreeAttachmentEventArgs)
- Control.OnGotFocus(GotFocusEventArgs)
- Control.OnLostFocus(RoutedEventArgs)
- Control.OnCreateAutomationPeer()
- Control.OnKeyUp(KeyEventArgs)
- Control.FocusAdorner
- Control.DataTemplates
- Control.ContextMenu
- Control.ContextFlyout
- Control.IsLoaded
- Control.Tag
- Control.ContextRequested
- Control.Loaded
- Control.Unloaded
- Control.SizeChanged
- InputElement.FocusableProperty
- InputElement.IsEnabledProperty
- InputElement.IsEffectivelyEnabledProperty
- InputElement.CursorProperty
- InputElement.IsKeyboardFocusWithinProperty
- InputElement.IsFocusedProperty
- InputElement.IsHitTestVisibleProperty
- InputElement.IsPointerOverProperty
- InputElement.IsTabStopProperty
- InputElement.GotFocusEvent
- InputElement.LostFocusEvent
- InputElement.KeyDownEvent
- InputElement.KeyUpEvent
- InputElement.TabIndexProperty
- InputElement.TextInputEvent
- InputElement.TextInputMethodClientRequestedEvent
- InputElement.PointerEnteredEvent
- InputElement.PointerExitedEvent
- InputElement.PointerMovedEvent
- InputElement.PointerPressedEvent
- InputElement.PointerReleasedEvent
- InputElement.PointerCaptureLostEvent
- InputElement.PointerWheelChangedEvent
- InputElement.TappedEvent
- InputElement.HoldingEvent
- InputElement.DoubleTappedEvent
- InputElement.Focus(NavigationMethod, KeyModifiers)
- InputElement.OnAccessKey(RoutedEventArgs)
- InputElement.OnKeyDown(KeyEventArgs)
- InputElement.OnTextInput(TextInputEventArgs)
- InputElement.OnPointerEntered(PointerEventArgs)
- InputElement.OnPointerExited(PointerEventArgs)
- InputElement.OnPointerMoved(PointerEventArgs)
- InputElement.OnPointerCaptureLost(PointerCaptureLostEventArgs)
- InputElement.OnPointerWheelChanged(PointerWheelEventArgs)
- InputElement.UpdateIsEffectivelyEnabled()
- InputElement.Focusable
- InputElement.IsEnabled
- InputElement.Cursor
- InputElement.IsKeyboardFocusWithin
- InputElement.IsFocused
- InputElement.IsHitTestVisible
- InputElement.IsPointerOver
- InputElement.IsTabStop
- InputElement.IsEffectivelyEnabled
- InputElement.TabIndex
- InputElement.KeyBindings
- InputElement.IsEnabledCore
- InputElement.GestureRecognizers
- InputElement.GotFocus
- InputElement.LostFocus
- InputElement.KeyDown
- InputElement.KeyUp
- InputElement.TextInput
- InputElement.TextInputMethodClientRequested
- InputElement.PointerEntered
- InputElement.PointerExited
- InputElement.PointerMoved
- InputElement.PointerPressed
- InputElement.PointerReleased
- InputElement.PointerCaptureLost
- InputElement.PointerWheelChanged
- InputElement.Tapped
- InputElement.Holding
- InputElement.DoubleTapped
- Interactive.AddHandler(RoutedEvent, Delegate, RoutingStrategies, bool)
- Interactive.AddHandler<TEventArgs>(RoutedEvent<TEventArgs>, EventHandler<TEventArgs>, RoutingStrategies, bool)
- Interactive.RemoveHandler(RoutedEvent, Delegate)
- Interactive.RemoveHandler<TEventArgs>(RoutedEvent<TEventArgs>, EventHandler<TEventArgs>)
- Interactive.RaiseEvent(RoutedEventArgs)
- Interactive.BuildEventRoute(RoutedEvent)
- Layoutable.DesiredSizeProperty
- Layoutable.WidthProperty
- Layoutable.HeightProperty
- Layoutable.MinWidthProperty
- Layoutable.MaxWidthProperty
- Layoutable.MinHeightProperty
- Layoutable.MaxHeightProperty
- Layoutable.MarginProperty
- Layoutable.HorizontalAlignmentProperty
- Layoutable.VerticalAlignmentProperty
- Layoutable.UseLayoutRoundingProperty
- Layoutable.UpdateLayout()
- Layoutable.Measure(Size)
- Layoutable.Arrange(Rect)
- Layoutable.InvalidateMeasure()
- Layoutable.InvalidateArrange()
- Layoutable.AffectsMeasure<T>(params AvaloniaProperty[])
- Layoutable.AffectsArrange<T>(params AvaloniaProperty[])
- Layoutable.MeasureCore(Size)
- Layoutable.MeasureOverride(Size)
- Layoutable.ArrangeCore(Rect)
- Layoutable.ArrangeOverride(Size)
- Layoutable.OnMeasureInvalidated()
- Layoutable.OnVisualParentChanged(Visual, Visual)
- Layoutable.Width
- Layoutable.Height
- Layoutable.MinWidth
- Layoutable.MaxWidth
- Layoutable.MinHeight
- Layoutable.MaxHeight
- Layoutable.Margin
- Layoutable.HorizontalAlignment
- Layoutable.VerticalAlignment
- Layoutable.DesiredSize
- Layoutable.IsMeasureValid
- Layoutable.IsArrangeValid
- Layoutable.UseLayoutRounding
- Layoutable.EffectiveViewportChanged
- Layoutable.LayoutUpdated
- Visual.BoundsProperty
- Visual.ClipToBoundsProperty
- Visual.ClipProperty
- Visual.IsVisibleProperty
- Visual.OpacityProperty
- Visual.OpacityMaskProperty
- Visual.EffectProperty
- Visual.HasMirrorTransformProperty
- Visual.RenderTransformProperty
- Visual.RenderTransformOriginProperty
- Visual.FlowDirectionProperty
- Visual.VisualParentProperty
- Visual.ZIndexProperty
- Visual.GetFlowDirection(Visual)
- Visual.SetFlowDirection(Visual, FlowDirection)
- Visual.InvalidateVisual()
- Visual.Render(DrawingContext)
- Visual.AffectsRender<T>(params AvaloniaProperty[])
- Visual.LogicalChildrenCollectionChanged(object, NotifyCollectionChangedEventArgs)
- Visual.OnAttachedToVisualTree(VisualTreeAttachmentEventArgs)
- Visual.OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs)
- Visual.InvalidateMirrorTransform()
- Visual.Bounds
- Visual.ClipToBounds
- Visual.Clip
- Visual.IsEffectivelyVisible
- Visual.IsVisible
- Visual.Opacity
- Visual.OpacityMask
- Visual.Effect
- Visual.HasMirrorTransform
- Visual.RenderTransform
- Visual.RenderTransformOrigin
- Visual.FlowDirection
- Visual.ZIndex
- Visual.VisualChildren
- Visual.VisualRoot
- Visual.BypassFlowDirectionPolicies
- Visual.AttachedToVisualTree
- Visual.DetachedFromVisualTree
- StyledElement.DataContextProperty
- StyledElement.NameProperty
- StyledElement.ParentProperty
- StyledElement.TemplatedParentProperty
- StyledElement.ThemeProperty
- StyledElement.BeginInit()
- StyledElement.EndInit()
- StyledElement.ApplyStyling()
- StyledElement.InitializeIfNeeded()
- StyledElement.TryGetResource(object, ThemeVariant, out object)
- StyledElement.OnDataContextChanged(EventArgs)
- StyledElement.OnDataContextBeginUpdate()
- StyledElement.OnDataContextEndUpdate()
- StyledElement.OnInitialized()
- StyledElement.Name
- StyledElement.Classes
- StyledElement.DataContext
- StyledElement.IsInitialized
- StyledElement.Styles
- StyledElement.StyleKey
- StyledElement.Resources
- StyledElement.TemplatedParent
- StyledElement.Theme
- StyledElement.LogicalChildren
- StyledElement.PseudoClasses
- StyledElement.StyleKeyOverride
- StyledElement.Parent
- StyledElement.ActualThemeVariant
- StyledElement.AttachedToLogicalTree
- StyledElement.DetachedFromLogicalTree
- StyledElement.DataContextChanged
- StyledElement.Initialized
- StyledElement.ResourcesChanged
- StyledElement.ActualThemeVariantChanged
- Animatable.TransitionsProperty
- Animatable.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)
- Animatable.Transitions
- AvaloniaObject.CheckAccess()
- AvaloniaObject.VerifyAccess()
- AvaloniaObject.ClearValue(AvaloniaProperty)
- AvaloniaObject.ClearValue<T>(AvaloniaProperty<T>)
- AvaloniaObject.ClearValue<T>(StyledProperty<T>)
- AvaloniaObject.ClearValue<T>(DirectPropertyBase<T>)
- AvaloniaObject.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)
- AvaloniaObject.SetValue(AvaloniaProperty, object, BindingPriority)
- AvaloniaObject.SetValue<T>(StyledProperty<T>, T, BindingPriority)
- AvaloniaObject.SetValue<T>(DirectPropertyBase<T>, T)
- AvaloniaObject.SetCurrentValue(AvaloniaProperty, 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)
- AvaloniaObject.UpdateDataValidation(AvaloniaProperty, BindingValueType, Exception)
- 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.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
Extension Methods
- AvaloniaObjectExtensions.BindToProperty(AvaloniaObject, AvaloniaProperty, AvaloniaObject, AvaloniaProperty, BindingMode)
- AvaloniaObjectExtensions.BindToProperty(AvaloniaObject, AvaloniaProperty, object, AvaloniaProperty, BindingMode, IValueConverter, object)
- VisualExtensions.GetFirstFocusableVisualDescendant(Visual)
- VisualExtensions.GetFirstTabStopVisualDescendant(Visual)
- VisualExtensions.InvalidateMeasureForAllVisualsInSameTemplate(Visual)
- VisualExtensions.InvalidateMeasureForVisualAncestorPath<PathEndType>(Visual, bool)
- VisualExtensions.IsFocusWithin(Visual)
- VisualExtensions.IsFocusWithinAsync(Visual)
- VisualExtensions.SizeToClient(Visual, PixelSize)
- VisualExtensions.SizeToScreen(Visual, Size)
- VisualExtensions.VectorToClient(Visual, PixelVector)
- VisualExtensions.VectorToScreen(Visual, Vector)
- ObjectExtensions.TryConvertToDouble(object, out double)
- ObjectExtensions.TryConvertToDouble(object, IFormatProvider, out double)