@ -38,6 +38,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.AcceleratorKey attached property.
/// </summary>
/// <remarks>
/// This property affects the default value for <see cref="AutomationPeer.GetAcceleratorKey"/>.
/// </remarks>
public static readonly AttachedProperty < string? > AcceleratorKeyProperty =
AvaloniaProperty . RegisterAttached < StyledElement , string? > (
"AcceleratorKey" ,
@ -46,6 +49,11 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.AccessibilityView attached property.
/// </summary>
/// <remarks>
/// The value of this property affects the default value of the
/// <see cref="AutomationPeer.IsContentElement"/> and
/// <see cref="AutomationPeer.IsControlElement"/> properties.
/// </remarks>
public static readonly AttachedProperty < AccessibilityView > AccessibilityViewProperty =
AvaloniaProperty . RegisterAttached < StyledElement , AccessibilityView > (
"AccessibilityView" ,
@ -54,6 +62,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.AccessKey attached property
/// </summary>
/// <remarks>
/// This property affects the default value for <see cref="AutomationPeer.GetAccessKey"/>.
/// </remarks>
public static readonly AttachedProperty < string? > AccessKeyProperty =
AvaloniaProperty . RegisterAttached < StyledElement , string? > (
"AccessKey" ,
@ -62,6 +73,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.AutomationId attached property.
/// </summary>
/// <remarks>
/// This property affects the default value for <see cref="AutomationPeer.GetAutomationId"/>.
/// </remarks>
public static readonly AttachedProperty < string? > AutomationIdProperty =
AvaloniaProperty . RegisterAttached < StyledElement , string? > (
"AutomationId" ,
@ -70,6 +84,10 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.ControlTypeOverride attached property.
/// </summary>
/// <remarks>
/// This property affects the default value for
/// <see cref="AutomationPeer.GetAutomationControlType"/>.
/// </remarks>
public static readonly AttachedProperty < AutomationControlType ? > ControlTypeOverrideProperty =
AvaloniaProperty . RegisterAttached < StyledElement , AutomationControlType ? > (
"ControlTypeOverride" ,
@ -78,6 +96,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.HelpText attached property.
/// </summary>
/// <remarks>
/// This property affects the default value for <see cref="AutomationPeer.GetHelpText"/>.
/// </remarks>
public static readonly AttachedProperty < string? > HelpTextProperty =
AvaloniaProperty . RegisterAttached < StyledElement , string? > (
"HelpText" ,
@ -86,6 +107,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.IsColumnHeader attached property.
/// </summary>
/// <remarks>
/// This property currently has no effect.
/// </remarks>
public static readonly AttachedProperty < bool > IsColumnHeaderProperty =
AvaloniaProperty . RegisterAttached < StyledElement , bool > (
"IsColumnHeader" ,
@ -95,6 +119,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.IsRequiredForForm attached property.
/// </summary>
/// <remarks>
/// This property currently has no effect.
/// </remarks>
public static readonly AttachedProperty < bool > IsRequiredForFormProperty =
AvaloniaProperty . RegisterAttached < StyledElement , bool > (
"IsRequiredForForm" ,
@ -104,6 +131,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.IsRowHeader attached property.
/// </summary>
/// <remarks>
/// This property currently has no effect.
/// </remarks>
public static readonly AttachedProperty < bool > IsRowHeaderProperty =
AvaloniaProperty . RegisterAttached < StyledElement , bool > (
"IsRowHeader" ,
@ -113,6 +143,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.IsOffscreenBehavior attached property.
/// </summary>
/// <remarks>
/// This property affects the default value for <see cref="AutomationPeer.IsOffscreen"/>.
/// </remarks>
public static readonly AttachedProperty < IsOffscreenBehavior > IsOffscreenBehaviorProperty =
AvaloniaProperty . RegisterAttached < StyledElement , IsOffscreenBehavior > (
"IsOffscreenBehavior" ,
@ -122,6 +155,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.ItemStatus attached property.
/// </summary>
/// <remarks>
/// This property currently has no effect.
/// </remarks>
public static readonly AttachedProperty < string? > ItemStatusProperty =
AvaloniaProperty . RegisterAttached < StyledElement , string? > (
"ItemStatus" ,
@ -130,6 +166,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.ItemType attached property.
/// </summary>
/// <remarks>
/// This property currently has no effect.
/// </remarks>
public static readonly AttachedProperty < string? > ItemTypeProperty =
AvaloniaProperty . RegisterAttached < StyledElement , string? > (
"ItemType" ,
@ -138,6 +177,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.LabeledBy attached property.
/// </summary>
/// <remarks>
/// This property affects the default value for <see cref="AutomationPeer.GetLabeledBy"/>.
/// </remarks>
public static readonly AttachedProperty < Control > LabeledByProperty =
AvaloniaProperty . RegisterAttached < StyledElement , Control > (
"LabeledBy" ,
@ -146,6 +188,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.LiveSetting attached property.
/// </summary>
/// <remarks>
/// This property currently has no effect.
/// </remarks>
public static readonly AttachedProperty < AutomationLiveSetting > LiveSettingProperty =
AvaloniaProperty . RegisterAttached < StyledElement , AutomationLiveSetting > (
"LiveSetting" ,
@ -155,6 +200,9 @@ namespace Avalonia.Automation
/// <summary>
/// Defines the AutomationProperties.Name attached attached property.
/// </summary>
/// <remarks>
/// This property affects the default value for <see cref="AutomationPeer.GetName"/>.
/// </remarks>
public static readonly AttachedProperty < string? > NameProperty =
AvaloniaProperty . RegisterAttached < StyledElement , string? > (
"Name" ,
@ -164,6 +212,8 @@ namespace Avalonia.Automation
/// Defines the AutomationProperties.PositionInSet attached property.
/// </summary>
/// <remarks>
/// NOTE: This property currently has no effect.
///
/// The PositionInSet property describes the ordinal location of the element within a set
/// of elements which are considered to be siblings. PositionInSet works in coordination
/// with the SizeOfSet property to describe the ordinal location in the set.
@ -178,6 +228,8 @@ namespace Avalonia.Automation
/// Defines the AutomationProperties.SizeOfSet attached property.
/// </summary>
/// <remarks>
/// NOTE: This property currently has no effect.
///
/// The SizeOfSet property describes the count of automation elements in a group or set
/// that are considered to be siblings. SizeOfSet works in coordination with the PositionInSet
/// property to describe the count of items in the set.
@ -189,7 +241,7 @@ namespace Avalonia.Automation
AutomationSizeOfSetDefault ) ;
/// <summary>
/// Helper for setting AcceleratorKey property on a StyledElement.
/// Helper for setting the value of the <see cref="AcceleratorKeyProperty"/> on a StyledElement.
/// </summary>
public static void SetAcceleratorKey ( StyledElement element , string value )
{
@ -198,7 +250,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading AcceleratorKey property from a StyledElement.
/// Helper for reading the value of the <see cref="AcceleratorKeyProperty"/> on a StyledElement.
/// </summary>
public static string? GetAcceleratorKey ( StyledElement element )
{
@ -207,7 +259,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting AccessibilityView property on a StyledElement.
/// Helper for setting the value of the <see cref="AccessibilityViewProperty"/> on a StyledElement.
/// </summary>
public static void SetAccessibilityView ( StyledElement element , AccessibilityView value )
{
@ -216,7 +268,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading AccessibilityView property from a StyledElement.
/// Helper for reading the value of the <see cref="AccessibilityViewProperty"/> on a StyledElement.
/// </summary>
public static AccessibilityView GetAccessibilityView ( StyledElement element )
{
@ -225,7 +277,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting AccessKey property on a StyledElement.
/// Helper for setting the value of the <see cref="AccessKeyProperty"/> on a StyledElement.
/// </summary>
public static void SetAccessKey ( StyledElement element , string value )
{
@ -234,7 +286,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading AccessKey property from a StyledElement.
/// Helper for reading the value of the <see cref="AccessKeyProperty"/> on a StyledElement.
/// </summary>
public static string? GetAccessKey ( StyledElement element )
{
@ -243,7 +295,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting AutomationId property on a StyledElement.
/// Helper for setting the value of the <see cref="AutomationIdProperty"/> on a StyledElement.
/// </summary>
public static void SetAutomationId ( StyledElement element , string? value )
{
@ -252,7 +304,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading AutomationId property from a StyledElement.
/// Helper for reading the value of the <see cref="AutomationIdProperty"/> on a StyledElement.
/// </summary>
public static string? GetAutomationId ( StyledElement element )
{
@ -261,7 +313,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting ControlTypeOverride property on a StyledElement.
/// Helper for setting the value of the <see cref="ControlTypeOverrideProperty"/> on a StyledElement.
/// </summary>
public static void SetControlTypeOverride ( StyledElement element , AutomationControlType ? value )
{
@ -270,7 +322,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading ControlTypeOverride property from a StyledElement.
/// Helper for reading the value of the <see cref="ControlTypeOverrideProperty"/> on a StyledElement.
/// </summary>
public static AutomationControlType ? GetControlTypeOverride ( StyledElement element )
{
@ -279,7 +331,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting HelpText property on a StyledElement.
/// Helper for setting the value of the <see cref="HelpTextProperty"/> on a StyledElement.
/// </summary>
public static void SetHelpText ( StyledElement element , string? value )
{
@ -288,7 +340,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading HelpText property from a StyledElement.
/// Helper for reading the value of the <see cref="HelpTextProperty"/> on a StyledElement.
/// </summary>
public static string? GetHelpText ( StyledElement element )
{
@ -297,7 +349,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting IsColumnHeader property on a StyledElement.
/// Helper for setting the value of the <see cref="IsColumnHeaderProperty"/> on a StyledElement.
/// </summary>
public static void SetIsColumnHeader ( StyledElement element , bool value )
{
@ -306,7 +358,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading IsColumnHeader property from a StyledElement.
/// Helper for reading the value of the <see cref="IsColumnHeaderProperty"/> on a StyledElement.
/// </summary>
public static bool GetIsColumnHeader ( StyledElement element )
{
@ -315,7 +367,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting IsRequiredForForm property on a StyledElement.
/// Helper for setting the value of the <see cref="IsRequiredForFormProperty"/> on a StyledElement.
/// </summary>
public static void SetIsRequiredForForm ( StyledElement element , bool value )
{
@ -324,7 +376,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading IsRequiredForForm property from a StyledElement.
/// Helper for reading the value of the <see cref="IsRequiredForFormProperty"/> on a StyledElement.
/// </summary>
public static bool GetIsRequiredForForm ( StyledElement element )
{
@ -333,7 +385,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading IsRowHeader property from a StyledElement.
/// Helper for reading the value of the <see cref="IsRowHeaderProperty"/> on a StyledElement.
/// </summary>
public static bool GetIsRowHeader ( StyledElement element )
{
@ -342,7 +394,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting IsRowHeader property on a StyledElement.
/// Helper for setting the value of the <see cref="IsRowHeaderProperty"/> on a StyledElement.
/// </summary>
public static void SetIsRowHeader ( StyledElement element , bool value )
{
@ -351,7 +403,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting IsOffscreenBehavior property on a StyledElement.
/// Helper for setting the value of the <see cref="IsOffscreenBehaviorProperty"/> on a StyledElement.
/// </summary>
public static void SetIsOffscreenBehavior ( StyledElement element , IsOffscreenBehavior value )
{
@ -360,7 +412,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading IsOffscreenBehavior property from a StyledElement.
/// Helper for reading the value of the <see cref="IsOffscreenBehaviorProperty"/> on a StyledElement.
/// </summary>
public static IsOffscreenBehavior GetIsOffscreenBehavior ( StyledElement element )
{
@ -369,7 +421,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting ItemStatus property on a StyledElement.
/// Helper for setting the value of the <see cref="ItemStatusProperty"/> on a StyledElement.
/// </summary>
public static void SetItemStatus ( StyledElement element , string? value )
{
@ -378,7 +430,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading ItemStatus property from a StyledElement.
/// Helper for reading the value of the <see cref="ItemStatusProperty"/> on a StyledElement.
/// </summary>
public static string? GetItemStatus ( StyledElement element )
{
@ -387,7 +439,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting ItemType property on a StyledElement.
/// Helper for setting the value of the <see cref="ItemTypeProperty"/> on a StyledElement.
/// </summary>
public static void SetItemType ( StyledElement element , string? value )
{
@ -396,7 +448,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading ItemType property from a StyledElement.
/// Helper for reading the value of the <see cref="ItemTypeProperty"/> on a StyledElement.
/// </summary>
public static string? GetItemType ( StyledElement element )
{
@ -405,7 +457,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting LabeledBy property on a StyledElement.
/// Helper for setting the value of the <see cref="LabeledByProperty"/> on a StyledElement.
/// </summary>
public static void SetLabeledBy ( StyledElement element , Control value )
{
@ -414,7 +466,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading LabeledBy property from a StyledElement.
/// Helper for reading the value of the <see cref="LabeledByProperty"/> on a StyledElement.
/// </summary>
public static Control GetLabeledBy ( StyledElement element )
{
@ -423,7 +475,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting LiveSetting property on a StyledElement.
/// Helper for setting the value of the <see cref="LiveSettingProperty"/> on a StyledElement.
/// </summary>
public static void SetLiveSetting ( StyledElement element , AutomationLiveSetting value )
{
@ -432,7 +484,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading LiveSetting property from a StyledElement.
/// Helper for reading the value of the <see cref="LiveSettingProperty"/> on a StyledElement.
/// </summary>
public static AutomationLiveSetting GetLiveSetting ( StyledElement element )
{
@ -441,7 +493,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting Name property on a StyledElement.
/// Helper for setting the value of the <see cref="NameProperty"/> on a StyledElement.
/// </summary>
public static void SetName ( StyledElement element , string? value )
{
@ -450,7 +502,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading Name property from a StyledElement.
/// Helper for reading the value of the <see cref="NameProperty"/> on a StyledElement.
/// </summary>
public static string? GetName ( StyledElement element )
{
@ -459,7 +511,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting PositionInSet property on a StyledElement.
/// Helper for setting the value of the <see cref="PositionInSetProperty"/> on a StyledElement.
/// </summary>
public static void SetPositionInSet ( StyledElement element , int value )
{
@ -468,7 +520,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading PositionInSet property from a StyledElement.
/// Helper for reading the value of the <see cref="PositionInSetProperty"/> on a StyledElement.
/// </summary>
public static int GetPositionInSet ( StyledElement element )
{
@ -477,7 +529,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for setting SizeOfSet property on a StyledElement.
/// Helper for setting the value of the <see cref="SizeOfSetProperty"/> on a StyledElement.
/// </summary>
public static void SetSizeOfSet ( StyledElement element , int value )
{
@ -486,7 +538,7 @@ namespace Avalonia.Automation
}
/// <summary>
/// Helper for reading SizeOfSet property from a StyledElement.
/// Helper for reading the value of the <see cref="SizeOfSetProperty"/> on a StyledElement.
/// </summary>
public static int GetSizeOfSet ( StyledElement element )
{