WindowControl Class
Represents a Avalonia.Controls.ContentControl that renders like a normal native Window
but can be used in other non-top-level contexts.
[TemplatePart(Name = "PART_TitleBar", Type = typeof(ChromedTitleBar))]
[PseudoClasses(new string[] { ":active" })]
[PseudoClasses(new string[] { ":maximized", ":minimized", ":normal" })]
public class WindowControl : 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:
- HostWindowControlBase
- Implements:
- IDataContextProvider ILogical IThemeVariantHost IResourceHost IResourceNode IStyleHost ISetLogicalParent ISetInheritanceParent IStyleable INamed IInputElement IDataTemplateHost ISetterValue
Constructors
WindowControl()
Initializes an instance of the class.
public WindowControl()
Properties
AreWindowStateBoundsChangedWithExternalLogic
Indicates whether window state change logic that triggers bounds changes are handled externally.
CanClose
Indicates whether the window can close.
public bool CanClose { get; set; }
Property Value
- bool:
The default value is
true
.
Remarks
The Closed event must be handled to actually close the control; otherwise, there is no change in control visibility.
CanResize
Indicates whether the window is able to be resized.
CloseCommand
The ICommand that can close the window.
Elevation
The elevation of the shadow, a value from 0
to 24
.
public int Elevation { get; set; }
Property Value
- int:
The default value is
4
.
Remarks
Higher elevations render larger shadows.
0
doesn't render a shadow.
HasTitleBar
Indicates whether the window is capable of displaying a title bar.
Icon
The content for the icon.
IconTemplate
The template used to display the Icon.
public IDataTemplate? IconTemplate { get; set; }
Property Value
- IDataTemplate
InnerBorderBrush
The brush used for the inner border.
public IBrush? InnerBorderBrush { get; set; }
Property Value
- IBrush
IsActive
Indicates whether the window is currently active.
IsCloseButtonAllowed
Indicates whether the window is capable of displaying a close button.
IsIconVisible
Indicates if the titlebar 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 whether the window is capable of displaying a maximize button.
IsMaximizedFrameVisible
Indicates whether the frame should be displayed when the window is maximized.
IsMinimizeButtonAllowed
Indicates whether the window is capable of displaying a minimize button.
IsRestoreButtonAllowed
Indicates whether the window is capable of displaying a restore button.
IsShadowEnabled
Whether the shadow can be rendered by the chrome.
public bool IsShadowEnabled { get; set; }
Property Value
- bool:
The default value is
true
.
Remarks
Set this property to false
to prevent the shadow from rendering.
LayoutBounds
The bounds to be used when laying out the window.
public Rect LayoutBounds { get; set; }
Property Value
- Rect
Left
The position of the window's left edge, in relation to its container.
MaximizeCommand
The ICommand that can maximize the window.
MinimizeCommand
The ICommand that can minimize the window.
MinimizedWidth
The width of the control when minimized.
RestoreCommand
The ICommand that can restore the window.
RestoredBounds
The bounds of this window when in a 'restored' state.
public Rect RestoredBounds { get; set; }
Property Value
- Rect
ShadowColor
The shadow's color, which should be an opaque color.
public Color ShadowColor { get; set; }
Property Value
- Color:
The default value is
Black
.
Remarks
This property is mixed with the ShadowOpacity to obtain the resolved semi-transparent color.
ShadowOpacity
The shadow's opacity, which is a percentage value in the range 0.0
..1.0
.
public double ShadowOpacity { get; set; }
Property Value
- double:
The default value is
0.3
.
Remarks
Lower property values will provide a softer shadow.
TemplateSettings
The WindowControl.WindowControlTemplateSettings instance that provides calculated values for use with the control's theme or template.
public WindowControl.WindowControlTemplateSettings TemplateSettings { get; }
Property Value
Title
The title of the window.
TitleBarTheme
The theme applied to the title bar.
public ControlTheme? TitleBarTheme { get; set; }
Property Value
- ControlTheme
Top
The position of the window's top edge, in relation to its container.
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
Activate()
Attempts to bring the window to the foreground and activates it.
public virtual bool Activate()
Returns
- bool:
true
if the window was successfully activated; otherwise,false
.
Close()
Closes the window.
public void Close()
DragMove(PointerPressedEventArgs)
Allows a window to be dragged by a pointer with its primary button down over an exposed area of the window's client rectangle.
public void DragMove(PointerPressedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | PointerPressedEventArgs | The Avalonia.Input.PointerPressedEventArgs that can wrap a platform-specific input event args instance. |
Remarks
The primary button of the pointer in the event arguments must be pressed down when calling this method. The pointer will be captured.
GetAdjustedBounds(Rect, ResizeOperation)
Returns an adjusted version of the specified bounds, which can provide support for features such as magnetism.
public virtual Rect GetAdjustedBounds(Rect bounds, ResizeOperation resizeOperation)
Parameter | Type | Description |
---|---|---|
bounds | Rect | The bounds to examine. |
resizeOperation | ResizeOperation | The active resize operation. |
Returns
- Rect
GetParentElementForRelativePointerLocation()
Gets the parent element whose position will be the basis for the relative location of the pointer.
protected virtual Visual? GetParentElementForRelativePointerLocation()
Returns
- Visual:
The default value is the first visual parent that is a
Panel
.
HitTestResizeOperation(Point)
Hit tests the specified Avalonia.Point to see if it might cause a resize operation.
public ResizeOperation HitTestResizeOperation(Point point)
Parameter | Type | Description |
---|---|---|
point | Point | The Avalonia.Point, in control coordinates, to hit test. |
Returns
- ResizeOperation:
The resize operation that can be caused by dragging at the Avalonia.Point.
OnActivated(RoutedEventArgs)
Called when the window gains focus within.
protected virtual void OnActivated(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
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.
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. |
OnClosed(RoutedEventArgs)
Called when the window is about to close.
protected virtual void OnClosed(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
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.
OnClosing(CancelRoutedEventArgs)
Called directly after Close() is called, and can be handled to cancel window closure.
protected virtual void OnClosing(CancelRoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | CancelRoutedEventArgs | A |
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.
OnCreateAutomationPeer()
Returns a new, type-specific Avalonia.Automation.Peers.AutomationPeer implementation for the control.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
The type-specific Avalonia.Automation.Peers.AutomationPeer implementation.
OnDeactivated(RoutedEventArgs)
Called when the window loses focus within.
protected virtual void OnDeactivated(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
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.
OnDragMoved(RoutedEventArgs)
Called after the window has been moved from a drag.
protected virtual void OnDragMoved(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
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.
OnDragMoving(CancelRoutedEventArgs)
Called before the window is moved from a drag, and can be handled to cancel the drag.
protected virtual void OnDragMoving(CancelRoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | CancelRoutedEventArgs | A |
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.
OnDragResized(RoutedEventArgs)
Called after the window has been resized from a drag
protected virtual void OnDragResized(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
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.
OnDragResizing(CancelRoutedEventArgs)
Called before the window is resized from a drag, and can be handled to cancel the resize.
protected virtual void OnDragResizing(CancelRoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | CancelRoutedEventArgs | A |
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.
OnGotFocus(GotFocusEventArgs)
Called before the Avalonia.Input.InputElement.GotFocus event occurs.
protected override void OnGotFocus(GotFocusEventArgs e)
Parameter | Type | Description |
---|---|---|
e | GotFocusEventArgs | The event args. |
OnLocationChanged(RoutedEventArgs)
Called when the window is moved.
protected virtual void OnLocationChanged(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
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.
OnLostFocus(RoutedEventArgs)
Called before the Avalonia.Input.InputElement.LostFocus event occurs.
protected override void OnLostFocus(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | The event args. |
OnOpened(RoutedEventArgs)
Called when the window is opened.
protected virtual void OnOpened(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
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.
OnPointerMoved(PointerEventArgs)
Called before the Avalonia.Input.InputElement.PointerMoved event occurs.
protected override void OnPointerMoved(PointerEventArgs e)
Parameter | Type | Description |
---|---|---|
e | PointerEventArgs | The event args. |
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. |
OnStateChanged(RoutedEventArgs)
Called after the window's WindowState property has changed.
protected virtual void OnStateChanged(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
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.
OnTitleBarDoubleTapped(RoutedEventArgs)
Called when the titlebar is double-tapped.
protected virtual void OnTitleBarDoubleTapped(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
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.
OnTitleBarMenuOpening(MenuEventArgs)
Called when the titlebar should display a context menu.
protected virtual void OnTitleBarMenuOpening(MenuEventArgs e)
Parameter | Type | Description |
---|---|---|
e | MenuEventArgs | A |
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.
ShouldDragMoveWithExternalLogic(PointerPressedEventArgs)
Returns whether the window should be dragged with external logic.
protected virtual bool ShouldDragMoveWithExternalLogic(PointerPressedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | PointerPressedEventArgs | The source Avalonia.Input.PointerPressedEventArgs, which can be used to capture the pointer. |
Returns
- bool:
true
if the window should be dragged with external logic; otherwise,false
.
Show()
Shows the window.
public void Show()
ToggleWindowState()
Toggles the window's state based on its current state.
public void ToggleWindowState()
Remarks
This method is generally called when the title bar is double-tapped.
Events
Activated
Occurs when the window gains focus within.
Closed
Occurs when the window is about to close.
Closing
Occurs directly after Close() is called, and can be handled to cancel window closure.
public event EventHandler<CancelRoutedEventArgs>? Closing
Event Type
- EventHandler<CancelRoutedEventArgs>
Deactivated
Occurs when the window loses focus within.
DragMoved
Occurs after the window has been moved from a drag.
DragMoving
Occurs before the window is moved from a drag, and can be handled to cancel the drag.
public event EventHandler<CancelRoutedEventArgs>? DragMoving
Event Type
- EventHandler<CancelRoutedEventArgs>
DragResized
Occurs after the window has been resized from a drag.
DragResizing
Occurs before the window is resized from a drag, and can be handled to cancel the resize.
public event EventHandler<CancelRoutedEventArgs>? DragResizing
Event Type
- EventHandler<CancelRoutedEventArgs>
LocationChanged
Occurs when the window is moved.
public event EventHandler<RoutedEventArgs>? LocationChanged
Event Type
- EventHandler<RoutedEventArgs>
Opened
Occurs when the window is opened.
StateChanged
Occurs after the window's WindowState property has changed.
TitleBarDoubleTapped
Occurs when the titlebar is double-tapped, and can be handled to cancel the default action.
public event EventHandler<RoutedEventArgs>? TitleBarDoubleTapped
Event Type
- EventHandler<RoutedEventArgs>
TitleBarMenuOpening
Occurs when the titlebar should display a context menu.
public event EventHandler<MenuEventArgs>? TitleBarMenuOpening
Event Type
Fields
ActivatedEvent
Defines the Activated event.
public static readonly RoutedEvent<RoutedEventArgs> ActivatedEvent
CanCloseProperty
Defines the CanClose property.
public static readonly StyledProperty<bool> CanCloseProperty
CanResizeProperty
Defines the CanResize property.
public static readonly StyledProperty<bool> CanResizeProperty
CloseCommandProperty
Defines the CloseCommand property.
public static readonly DirectProperty<WindowControl, ICommand?> CloseCommandProperty
ClosedEvent
Defines the Closed event.
public static readonly RoutedEvent<RoutedEventArgs> ClosedEvent
ClosingEvent
Defines the Closing event.
public static readonly RoutedEvent<CancelRoutedEventArgs> ClosingEvent
DeactivatedEvent
Defines the Deactivated event.
public static readonly RoutedEvent<RoutedEventArgs> DeactivatedEvent
DragMovedEvent
Defines the DragMoved event.
public static readonly RoutedEvent<RoutedEventArgs> DragMovedEvent
DragMovingEvent
Defines the DragMoving event.
public static readonly RoutedEvent<CancelRoutedEventArgs> DragMovingEvent
DragResizedEvent
Defines the DragResized event.
public static readonly RoutedEvent<RoutedEventArgs> DragResizedEvent
DragResizingEvent
Defines the DragResizing event.
public static readonly RoutedEvent<CancelRoutedEventArgs> DragResizingEvent
ElevationProperty
Defines the Elevation property.
public static readonly StyledProperty<int> ElevationProperty
HasTitleBarProperty
Defines the HasTitleBar property.
public static readonly StyledProperty<bool> HasTitleBarProperty
IconProperty
Defines the Icon property.
public static readonly StyledProperty<object?> IconProperty
IconTemplateProperty
Defines the IconTemplate property.
public static readonly StyledProperty<IDataTemplate?> IconTemplateProperty
InnerBorderBrushProperty
Defines the InnerBorderBrush property.
public static readonly StyledProperty<IBrush?> InnerBorderBrushProperty
IsActiveProperty
Defines the IsActive property.
public static readonly StyledProperty<bool> IsActiveProperty
IsCloseButtonAllowedProperty
Defines the IsCloseButtonAllowed property.
public static readonly StyledProperty<bool> IsCloseButtonAllowedProperty
IsIconVisibleProperty
Defines the IsIconVisible property.
public static readonly StyledProperty<bool?> IsIconVisibleProperty
IsMaximizeButtonAllowedProperty
Defines the IsMaximizeButtonAllowed property.
public static readonly StyledProperty<bool> IsMaximizeButtonAllowedProperty
IsMaximizedFrameVisibleProperty
Defines the IsMaximizedFrameVisible property.
public static readonly StyledProperty<bool> IsMaximizedFrameVisibleProperty
IsMinimizeButtonAllowedProperty
Defines the IsMinimizeButtonAllowed property.
public static readonly StyledProperty<bool> IsMinimizeButtonAllowedProperty
IsRestoreButtonAllowedProperty
Defines the IsRestoreButtonAllowed property.
public static readonly StyledProperty<bool> IsRestoreButtonAllowedProperty
IsShadowEnabledProperty
Defines the IsShadowEnabled property.
public static readonly StyledProperty<bool> IsShadowEnabledProperty
LeftProperty
Defines the Left property.
public static readonly StyledProperty<double> LeftProperty
LocationChangedEvent
Defines the LocationChanged event.
public static readonly RoutedEvent<RoutedEventArgs> LocationChangedEvent
MaximizeCommandProperty
Defines the MaximizeCommand property.
public static readonly DirectProperty<WindowControl, ICommand?> MaximizeCommandProperty
MinimizeCommandProperty
Defines the MinimizeCommand property.
public static readonly DirectProperty<WindowControl, ICommand?> MinimizeCommandProperty
OpenedEvent
Defines the Opened event.
public static readonly RoutedEvent<RoutedEventArgs> OpenedEvent
RestoreCommandProperty
Defines the RestoreCommand property.
public static readonly DirectProperty<WindowControl, ICommand?> RestoreCommandProperty
RestoredBoundsProperty
Defines the RestoredBounds
property.
public static readonly StyledProperty<Rect> RestoredBoundsProperty
ShadowColorProperty
Defines the ShadowColor property.
public static readonly StyledProperty<Color> ShadowColorProperty
ShadowOpacityProperty
Defines the ShadowOpacity property.
public static readonly StyledProperty<double> ShadowOpacityProperty
StateChangedEvent
Defines the StateChanged event.
public static readonly RoutedEvent<RoutedEventArgs> StateChangedEvent
TitleBarDoubleTappedEvent
Defines the TitleBarDoubleTapped event.
public static readonly RoutedEvent<RoutedEventArgs> TitleBarDoubleTappedEvent
TitleBarMenuOpeningEvent
Defines the TitleBarMenuOpening event.
public static readonly RoutedEvent<MenuEventArgs> TitleBarMenuOpeningEvent
TitleBarThemeProperty
Defines the TitleBarTheme property.
public static readonly StyledProperty<ControlTheme?> TitleBarThemeProperty
TitleProperty
Defines the Title property.
public static readonly StyledProperty<string?> TitleProperty
TopProperty
Defines the Top property.
public static readonly StyledProperty<double> TopProperty
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.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.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)