In This Article

UserPromptControl Class

Represents a prompt displayed to a user with an option to respond.

[TemplatePart(Name = "PART_ButtonItemsControl", Type = typeof(UserPromptButtonItemsControl))]
[PseudoClasses(new string[] { ":expanded" })]
[PseudoClasses(new string[] { ":checked" })]
[PseudoClasses(new string[] { ":error", ":information", ":question", ":warning" })]
public class UserPromptControl : HeaderedContentControl, 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 HeaderedContentControl object
Implements:
IDataContextProvider ILogical IThemeVariantHost IResourceHost IResourceNode IStyleHost ISetLogicalParent ISetInheritanceParent IStyleable INamed IInputElement IDataTemplateHost ISetterValue

Constructors

UserPromptControl()

Initializes a new instance of the UserPromptControl class.

public UserPromptControl()

Properties

ButtonItems

The items which define the buttons to be presented on the prompt.

public IEnumerable? ButtonItems { get; set; }

Property Value

IEnumerable:

An enumerable of objects which represent buttons. When null, the value of StandardButtons will define which button items are presented.

See Also

ButtonItemsClipboardText

The text used to represent the ButtonItems when copied to the clipboard.

public string? ButtonItemsClipboardText { get; set; }

Property Value

string:

A string value. The default value is null. When null, an attempt will be made to resolve the text from the individual items of ButtonItems; e.g., button labels will be used as the clipboard text.

Remarks

Set this value when the appropriate clipboard text cannot be automatically resolved.

ButtonItemsHorizontalAlignment

The horizontal alignment for the panel of ButtonItems.

public HorizontalAlignment ButtonItemsHorizontalAlignment { get; set; }

Property Value

HorizontalAlignment:

One of the Avalonia.Layout.HorizontalAlignment values. The default value is Avalonia.Layout.HorizontalAlignment.Right.

ButtonTheme

The Avalonia.Styling.ControlTheme applied to buttons.

public ControlTheme? ButtonTheme { get; set; }

Property Value

ControlTheme

CanExpand

Indicates whether content can be expanded, typically showing the ExpandedInformationContent.

public bool CanExpand { get; }

Property Value

bool

CheckBoxContent

The content for the checkbox.

public object? CheckBoxContent { get; set; }

Property Value

object

Remarks

The default template will only display the check box if this property is populated.

See Also

CheckBoxContentClipboardText

The text used to represent the CheckBoxContent when copied to the clipboard.

public string? CheckBoxContentClipboardText { get; set; }

Property Value

string:

A string value. The default value is null. When null, an attempt will be made to resolve the text from the CheckBoxContent; e.g., string-based content will be used directly as the clipboard text.

Remarks

Set this value when the appropriate clipboard text cannot be automatically resolved.

CheckBoxContentTemplate

The template used to display the CheckBoxContent.

public IDataTemplate? CheckBoxContentTemplate { get; set; }

Property Value

IDataTemplate

CloseResult

The result for the prompt if it is closed without an explicit response.

public MessageBoxResult? CloseResult { get; set; }

Property Value

MessageBoxResult?:

One of the MessageBoxResult values, or null if an explicit result has not been defined and could not be inferred from StandardButtons. The default value is null.

ContentClipboardText

The text used to represent the Avalonia.Controls.ContentControl.Content when copied to the clipboard.

public string? ContentClipboardText { get; set; }

Property Value

string:

A string value. The default value is null. When null, an attempt will be made to resolve the text from the Avalonia.Controls.ContentControl.Content; e.g., string-based content will be used directly as the clipboard text.

Remarks

Set this value when the appropriate clipboard text cannot be automatically resolved.

ContentMaxHeight

The maximum height constraint of the Avalonia.Controls.ContentControl.Content

public double ContentMaxHeight { get; set; }

Property Value

double:

A double value. The default value is PositiveInfinity.

Remarks

The maximum height of the content, in device-independent units (1/96th inch per unit). The default value is PositiveInfinity. This value can be any value equal to or greater than 0.0. PositiveInfinity is also valid.

ContentMaxWidth

The maximum width constraint of the Avalonia.Controls.ContentControl.Content

public double ContentMaxWidth { get; set; }

Property Value

double:

A double value. The default value is PositiveInfinity.

Remarks

The maximum width of the content, in device-independent units (1/96th inch per unit). The default value is PositiveInfinity. This value can be any value equal to or greater than 0.0. PositiveInfinity is also valid.

DefaultButtonClasses

The space-delimited list of classes to be assigned to the default button when using StandardButtons.

public string? DefaultButtonClasses { get; set; }

Property Value

string

Remarks

This property is ignored when ButtonItems is explicitly defined or only one button is available.

DefaultResult

The default result for the prompt.

public MessageBoxResult DefaultResult { get; set; }

Property Value

MessageBoxResult

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.

ExpandedInformationCollapsedHeaderText

The text displayed as the header for ExpandedInformationContent when IsExpanded is false.

public string? ExpandedInformationCollapsedHeaderText { get; set; }

Property Value

string

Remarks

Text supports access keys.

See Also

ExpandedInformationContent

The content for the expanded information.

public object? ExpandedInformationContent { get; set; }

Property Value

object

ExpandedInformationContentClipboardText

The text used to represent the ExpandedInformationContent when copied to the clipboard.

public string? ExpandedInformationContentClipboardText { get; set; }

Property Value

string:

A string value. The default value is null. When null, an attempt will be made to resolve the text from the ExpandedInformationContent; e.g., string-based content will be used directly as the clipboard text.

Remarks

Set this value when the appropriate clipboard text cannot be automatically resolved.

ExpandedInformationContentTemplate

The template used to display the ExpandedInformationContent.

public IDataTemplate? ExpandedInformationContentTemplate { get; set; }

Property Value

IDataTemplate

ExpandedInformationExpandedHeaderText

The text displayed as the header for ExpandedInformationContent when IsExpanded is true.

public string? ExpandedInformationExpandedHeaderText { get; set; }

Property Value

string

Remarks

Text supports access keys.

See Also

Gets or sets the content for the footer.

public object? Footer { get; set; }

Property Value

object

FooterClipboardText

The text used to represent the Footer when copied to the clipboard.

public string? FooterClipboardText { get; set; }

Property Value

string:

A string value. The default value is null. When null, an attempt will be made to resolve the text from the Footer; e.g., string-based content will be used directly as the clipboard text.

Remarks

Set this value when the appropriate clipboard text cannot be automatically resolved.

FooterIcon

The object representing the footer icon.

public object? FooterIcon { get; set; }

Property Value

object

FooterIconTemplate

The Avalonia.Controls.Templates.IDataTemplate to be used for the FooterIcon.

public IDataTemplate? FooterIconTemplate { get; set; }

Property Value

IDataTemplate

FooterImageSource

The image to be displayed in the footer.

[Obsolete("Use 'FooterIcon' instead.")]
[Browsable(false)]
public IImage? FooterImageSource { get; set; }

Property Value

IImage

FooterTemplate

The template used to display the Footer.

public IDataTemplate? FooterTemplate { get; set; }

Property Value

IDataTemplate

HasAlignedHeader

A value indicating whether the status image and header are aligned.

public bool HasAlignedHeader { get; }

Property Value

bool

HasCheckBoxContent

Indicates whether CheckBoxContent has a non-null value.

public bool HasCheckBoxContent { get; }

Property Value

bool

HasExpandedInformationContent

Indicates whether ExpandedInformationContent has a non-null value.

public bool HasExpandedInformationContent { get; }

Property Value

bool

HasFooter

Indicates whether Footer has a non-null value.

public bool HasFooter { get; }

Property Value

bool

HasFooterImage

Indicates whether FooterImageSource has a non-null value.

[Obsolete("Use 'IsFooterIconVisible' instead.")]
[Browsable(false)]
public bool HasFooterImage { get; }

Property Value

bool

HasStatusImage

Indicates whether StatusImageSource has a non-null value.

[Obsolete("Use 'IsStatusIconVisible' instead.")]
[Browsable(false)]
public bool HasStatusImage { get; }

Property Value

bool

HeaderBackground

The brush used for the background of the header.

public IBrush? HeaderBackground { get; set; }

Property Value

IBrush

HeaderBorderBrush

The brush used for the border of the header.

public IBrush? HeaderBorderBrush { get; set; }

Property Value

IBrush

HeaderBorderThickness

The thickness of header border.

public Thickness HeaderBorderThickness { get; set; }

Property Value

Thickness

HeaderClipboardText

The text used to represent the Avalonia.Controls.Primitives.HeaderedContentControl.Header when copied to the clipboard.

public string? HeaderClipboardText { get; set; }

Property Value

string:

A string value. The default value is null. When null, an attempt will be made to resolve the text from the Avalonia.Controls.Primitives.HeaderedContentControl.Header; e.g., string-based content will be used directly as the clipboard text.

Remarks

Set this value when the appropriate clipboard text cannot be automatically resolved.

HeaderFontSize

The size of the font used for the header.

public double HeaderFontSize { get; set; }

Property Value

double

HeaderForeground

The brush used for the header.

public IBrush? HeaderForeground { get; set; }

Property Value

IBrush

HelpCommand

The command associated with the Help button.

public ICommand? HelpCommand { get; set; }

Property Value

ICommand

See Also

HelpCommandParameter

The parameter passed to the HelpCommand.

public object? HelpCommandParameter { get; set; }

Property Value

object

HorizontalScrollBarVisibility

Indicates whether a horizontal scrollbar is shown for the content.

public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }

Property Value

ScrollBarVisibility:

One of the Avalonia.Controls.Primitives.ScrollBarVisibility values. The default value is Avalonia.Controls.Primitives.ScrollBarVisibility.Disabled.

See Also

IsAnimationEnabled

Whether animation is enabled.

public bool IsAnimationEnabled { get; set; }

Property Value

bool:

The default value is true.

IsChecked

Indicates if CheckBoxContent is checked.

public bool IsChecked { get; set; }

Property Value

bool

See Also

IsExpanded

Indicates if ExpandedInformationContent is expanded.

public bool IsExpanded { get; set; }

Property Value

bool

IsFooterIconVisible

Indicates if the footer icon is visible.

public bool? IsFooterIconVisible { get; set; }

Property Value

bool?:

true to force the icon to be visible, false to force the icon to be hidden, or null to show the icon only when icon content is available. The default value is null.

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.

IsStatusIconVisible

Indicates if the status icon is visible.

public bool? IsStatusIconVisible { get; set; }

Property Value

bool?:

true to force the icon to be visible, false to force the icon to be hidden, or null to show the icon only when icon content is available. The default value is null.

Result

The explicit result for the prompt.

public object? Result { get; set; }

Property Value

object:

One of the MessageBoxResult values, null, or any object which represents a custom result. When defined for a button that is invoked for the response, the result will be based on the ButtonResultProperty attached property. Otherwise, for custom buttons, the result must be manually assigned. The value is null if a result has not been provided.

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.

StandardButtons

A standard button combination for the user prompt.

public MessageBoxButtons StandardButtons { get; set; }

Property Value

MessageBoxButtons:

One of the MessageBoxButtons values. The default value is OK.

Remarks

This property is ignored when ButtonItems is explicitly defined.

See Also

StandardStatusIcon

A standard status icon for the user prompt.

public MessageBoxImage StandardStatusIcon { get; set; }

Property Value

MessageBoxImage:

One of the MessageBoxImage values. The default value is None.

Remarks

This property is ignored when StatusIcon is explicitly defined.

See Also

StandardStatusImage

A standard status image for the user prompt.

[Obsolete("Use 'StandardStatusIcon' instead.")]
[Browsable(false)]
public MessageBoxImage StandardStatusImage { get; set; }

Property Value

MessageBoxImage:

One of the MessageBoxImage values. The default value is None.

Remarks

This property is ignored when StatusImageSource is explicitly defined.

See Also

StatusIcon

The object representing the status icon.

public object? StatusIcon { get; set; }

Property Value

object

See Also

StatusIconTemplate

The Avalonia.Controls.Templates.IDataTemplate to be used for the StatusIcon.

public IDataTemplate? StatusIconTemplate { get; set; }

Property Value

IDataTemplate

StatusImageSource

The status image.

[Obsolete("Use 'StatusIcon' instead.")]
[Browsable(false)]
public IImage? StatusImageSource { get; set; }

Property Value

IImage

TrayBackground

The background brush used for the tray elements.

public IBrush? TrayBackground { get; set; }

Property Value

IBrush

TrayForeground

The foreground brush used for the tray elements.

public IBrush? TrayForeground { get; set; }

Property Value

IBrush

VerticalScrollBarVisibility

Indicates whether a vertical scrollbar is shown for the content.

public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }

Property Value

ScrollBarVisibility:

One of the Avalonia.Controls.Primitives.ScrollBarVisibility values. The default value is Avalonia.Controls.Primitives.ScrollBarVisibility.Auto.

See Also

Methods

GetButtonClipboardText(AvaloniaObject)

Gets the value of the ButtonClipboardText attached property for the specified object.

public static string? GetButtonClipboardText(AvaloniaObject obj)
Parameter Type Description
obj AvaloniaObject

The object from which the property value is read.

Returns

string:

The object's value.

See Also

GetButtonResult(AvaloniaObject)

Gets the value of the ButtonResult attached property for the specified object.

public static MessageBoxResult GetButtonResult(AvaloniaObject obj)
Parameter Type Description
obj AvaloniaObject

The object from which the property value is read.

Returns

MessageBoxResult:

The object's value.

See Also

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.

OnCreateAutomationPeer()

Creates an appropriate UserPromptControlAutomationPeer for this control.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

A new instance of UserPromptControlAutomationPeer.

SetButtonClipboardText(AvaloniaObject, string?)

Sets the value of the ButtonClipboardText attached property to the specified object.

public static void SetButtonClipboardText(AvaloniaObject obj, string? value)
Parameter Type Description
obj AvaloniaObject

The object to which the attached property is written.

value string

The value to set.

See Also

SetButtonResult(AvaloniaObject, MessageBoxResult)

Sets the value of the ButtonResult attached property to the specified object.

public static void SetButtonResult(AvaloniaObject obj, MessageBoxResult value)
Parameter Type Description
obj AvaloniaObject

The object to which the attached property is written.

value MessageBoxResult

The value to set.

See Also

Events

Responding

Occurs when a response is being submitted to the user prompt.

public event EventHandler<UserPromptResponseEventArgs>? Responding

Event Type

EventHandler<UserPromptResponseEventArgs>

Fields

ButtonClipboardTextProperty

Defines the ButtonClipboardText attached property.

public static readonly AttachedProperty<string?> ButtonClipboardTextProperty

ButtonItemsClipboardTextProperty

Defines the ButtonItemsClipboardText property.

public static readonly StyledProperty<string?> ButtonItemsClipboardTextProperty

ButtonItemsHorizontalAlignmentProperty

Defines the ButtonItemsHorizontalAlignment property.

public static readonly StyledProperty<HorizontalAlignment> ButtonItemsHorizontalAlignmentProperty

ButtonItemsProperty

Defines the ButtonItems property.

public static readonly StyledProperty<IEnumerable?> ButtonItemsProperty

ButtonResultProperty

Defines the ButtonResult attached property.

public static readonly AttachedProperty<MessageBoxResult> ButtonResultProperty

ButtonThemeProperty

Defines the ButtonTheme property.

public static readonly StyledProperty<ControlTheme?> ButtonThemeProperty

CanExpandProperty

Defines the CanExpand property.

public static readonly DirectProperty<UserPromptControl, bool> CanExpandProperty

CheckBoxContentClipboardTextProperty

Defines the CheckBoxContentClipboardText property.

public static readonly StyledProperty<string?> CheckBoxContentClipboardTextProperty

CheckBoxContentProperty

Defines the CheckBoxContent property.

public static readonly StyledProperty<object?> CheckBoxContentProperty

CheckBoxContentTemplateProperty

Defines the CheckBoxContentTemplate property.

public static readonly StyledProperty<IDataTemplate?> CheckBoxContentTemplateProperty

CloseResultProperty

Defines the CloseResult property.

public static readonly StyledProperty<MessageBoxResult?> CloseResultProperty

ContentClipboardTextProperty

Defines the ContentClipboardText property.

public static readonly StyledProperty<string?> ContentClipboardTextProperty

ContentMaxHeightProperty

Defines the ContentMaxHeight property.

public static readonly StyledProperty<double> ContentMaxHeightProperty

ContentMaxWidthProperty

Defines the ContentMaxWidth property.

public static readonly StyledProperty<double> ContentMaxWidthProperty

DefaultButtonClassesProperty

Defines the DefaultButtonClasses property.

public static readonly StyledProperty<string?> DefaultButtonClassesProperty

DefaultResultProperty

Defines the DefaultResult property.

public static readonly StyledProperty<MessageBoxResult> DefaultResultProperty

ElevationProperty

Defines the Elevation property.

public static readonly StyledProperty<int> ElevationProperty

ExpandedInformationCollapsedHeaderTextProperty

public static readonly StyledProperty<string?> ExpandedInformationCollapsedHeaderTextProperty

ExpandedInformationContentClipboardTextProperty

public static readonly StyledProperty<string?> ExpandedInformationContentClipboardTextProperty

ExpandedInformationContentProperty

Defines the ExpandedInformationContent property.

public static readonly StyledProperty<object?> ExpandedInformationContentProperty

ExpandedInformationContentTemplateProperty

Defines the ExpandedInformationContentTemplate property.

public static readonly StyledProperty<IDataTemplate?> ExpandedInformationContentTemplateProperty

ExpandedInformationExpandedHeaderTextProperty

public static readonly StyledProperty<string?> ExpandedInformationExpandedHeaderTextProperty

FooterClipboardTextProperty

Defines the FooterClipboardText property.

public static readonly StyledProperty<string?> FooterClipboardTextProperty

FooterIconProperty

Defines the FooterIcon property.

public static readonly StyledProperty<object?> FooterIconProperty

FooterIconTemplateProperty

Defines the FooterIconTemplate property.

public static readonly StyledProperty<IDataTemplate?> FooterIconTemplateProperty

FooterImageSourceProperty

Defines the FooterImageSource property.

[Obsolete("Use 'FooterIconProperty' instead.")]
[Browsable(false)]
public static readonly DirectProperty<UserPromptControl, IImage?> FooterImageSourceProperty

FooterProperty

Defines the Footer property.

public static readonly StyledProperty<object?> FooterProperty

FooterTemplateProperty

Defines the FooterTemplate property.

public static readonly StyledProperty<IDataTemplate?> FooterTemplateProperty

HasAlignedHeaderProperty

Defines the HasAlignedHeader property.

public static readonly DirectProperty<UserPromptControl, bool> HasAlignedHeaderProperty

HasCheckBoxContentProperty

Defines the HasCheckBoxContent property.

public static readonly DirectProperty<UserPromptControl, bool> HasCheckBoxContentProperty

HasExpandedInformationContentProperty

Defines the HasExpandedInformationContent property.

public static readonly DirectProperty<UserPromptControl, bool> HasExpandedInformationContentProperty

HasFooterImageProperty

Defines the HasFooterImage property.

[Obsolete("Use 'IsFooterIconVisibleProperty' instead.")]
[Browsable(false)]
public static readonly DirectProperty<UserPromptControl, bool> HasFooterImageProperty

HasFooterProperty

Defines the HasFooter property.

public static readonly DirectProperty<UserPromptControl, bool> HasFooterProperty

HasHeaderProperty

Defines the ActiproSoftware.UI.Avalonia.Controls.UserPromptControl.HasHeader property.

public static readonly DirectProperty<UserPromptControl, bool> HasHeaderProperty

HasStatusImageProperty

Defines the HasStatusImage property.

[Obsolete("Use 'IsStatusIconVisibleProperty' instead.")]
[Browsable(false)]
public static readonly DirectProperty<UserPromptControl, bool> HasStatusImageProperty

HeaderBackgroundProperty

Defines the HeaderBackground property.

public static readonly StyledProperty<IBrush?> HeaderBackgroundProperty

HeaderBorderBrushProperty

Defines the HeaderBorderBrush property.

public static readonly StyledProperty<IBrush?> HeaderBorderBrushProperty

HeaderBorderThicknessProperty

Defines the HeaderBorderThickness property.

public static readonly StyledProperty<Thickness> HeaderBorderThicknessProperty

HeaderClipboardTextProperty

Defines the HeaderClipboardText property.

public static readonly StyledProperty<string?> HeaderClipboardTextProperty

HeaderFontSizeProperty

Defines the HeaderFontSize property.

public static readonly StyledProperty<double> HeaderFontSizeProperty

HeaderForegroundProperty

Defines the HeaderForeground property.

public static readonly StyledProperty<IBrush?> HeaderForegroundProperty

HelpCommandParameterProperty

Defines the HelpCommandParameter property.

public static readonly StyledProperty<object?> HelpCommandParameterProperty

HelpCommandProperty

Defines the HelpCommand property.

public static readonly StyledProperty<ICommand?> HelpCommandProperty

HorizontalScrollBarVisibilityProperty

Defines the HorizontalScrollBarVisibility property.

public static readonly StyledProperty<ScrollBarVisibility> HorizontalScrollBarVisibilityProperty

IsAnimationEnabledProperty

Defines the IsAnimationEnabled property.

public static readonly StyledProperty<bool> IsAnimationEnabledProperty

IsCheckedProperty

Defines the IsChecked property.

public static readonly StyledProperty<bool> IsCheckedProperty

IsExpandedProperty

Defines the IsExpanded property.

public static readonly StyledProperty<bool> IsExpandedProperty

IsFooterIconVisibleProperty

Defines the IsFooterIconVisible property.

public static readonly StyledProperty<bool?> IsFooterIconVisibleProperty

IsShadowEnabledProperty

Defines the IsShadowEnabled property.

public static readonly StyledProperty<bool> IsShadowEnabledProperty

IsStatusIconVisibleProperty

Defines the IsStatusIconVisible property.

public static readonly StyledProperty<bool?> IsStatusIconVisibleProperty

ResultProperty

Defines the Result property.

public static readonly StyledProperty<object?> ResultProperty

ShadowColorProperty

Defines the ShadowColor property.

public static readonly StyledProperty<Color> ShadowColorProperty

ShadowOpacityProperty

Defines the ShadowOpacity property.

public static readonly StyledProperty<double> ShadowOpacityProperty

StandardButtonsProperty

Defines the StandardButtons property.

public static readonly StyledProperty<MessageBoxButtons> StandardButtonsProperty

StandardStatusIconProperty

Defines the StandardStatusIcon property.

public static readonly StyledProperty<MessageBoxImage> StandardStatusIconProperty

StandardStatusImageProperty

Defines the StandardStatusImage property.

[Obsolete("Use 'StandardStatusIconProperty' instead.")]
[Browsable(false)]
public static readonly DirectProperty<UserPromptControl, MessageBoxImage> StandardStatusImageProperty

StatusIconProperty

Defines the StatusIcon property.

public static readonly StyledProperty<object?> StatusIconProperty

StatusIconTemplateProperty

Defines the StatusIconTemplate property.

public static readonly StyledProperty<IDataTemplate?> StatusIconTemplateProperty

StatusImageSourceProperty

Defines the StatusImageSource property.

[Obsolete("Use 'StatusIconProperty' instead.")]
[Browsable(false)]
public static readonly DirectProperty<UserPromptControl, IImage?> StatusImageSourceProperty

TrayBackgroundProperty

Defines the TrayBackground property.

public static readonly StyledProperty<IBrush?> TrayBackgroundProperty

TrayForegroundProperty

Defines the TrayForeground property.

public static readonly StyledProperty<IBrush?> TrayForegroundProperty

VerticalScrollBarVisibilityProperty

Defines the VerticalScrollBarVisibility property.

public static readonly StyledProperty<ScrollBarVisibility> VerticalScrollBarVisibilityProperty

Inherited Members

  • HeaderedContentControl.HeaderProperty
  • HeaderedContentControl.HeaderTemplateProperty
  • HeaderedContentControl.RegisterContentPresenter(ContentPresenter)
  • HeaderedContentControl.Header
  • HeaderedContentControl.HeaderPresenter
  • HeaderedContentControl.HeaderTemplate
  • ContentControl.ContentProperty
  • ContentControl.ContentTemplateProperty
  • ContentControl.HorizontalContentAlignmentProperty
  • ContentControl.VerticalContentAlignmentProperty
  • ContentControl.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
  • 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.OnPointerReleased(PointerReleasedEventArgs)
  • 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.OnKeyDown(KeyEventArgs)
  • InputElement.OnTextInput(TextInputEventArgs)
  • InputElement.OnPointerEntered(PointerEventArgs)
  • InputElement.OnPointerExited(PointerEventArgs)
  • InputElement.OnPointerMoved(PointerEventArgs)
  • InputElement.OnPointerPressed(PointerPressedEventArgs)
  • 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