@ -283,6 +283,23 @@ namespace Avalonia.Automation.Peers
/// </remarks>
/// </remarks>
public string GetHelpText ( ) = > GetHelpTextCore ( ) ? ? string . Empty ;
public string GetHelpText ( ) = > GetHelpTextCore ( ) ? ? string . Empty ;
/// <summary>
/// Gets text that provides a placeholder for the element that is associated with this automation peer.
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>Windows</term>
/// <description>No mapping.</description>
/// </item>
/// <item>
/// <term>macOS</term>
/// <description><c>NSAccessibilityProtocol.accessibilityPlaceholderValue</c></description>
/// </item>
/// </list>
/// </remarks>
public string GetPlaceholderText ( ) = > GetPlaceholderTextCore ( ) ? ? string . Empty ;
/// <summary>
/// <summary>
/// Gets the control type for the element that is associated with the UI Automation peer.
/// Gets the control type for the element that is associated with the UI Automation peer.
/// </summary>
/// </summary>
@ -595,6 +612,7 @@ namespace Avalonia.Automation.Peers
protected abstract AutomationPeer ? GetLabeledByCore ( ) ;
protected abstract AutomationPeer ? GetLabeledByCore ( ) ;
protected abstract string? GetNameCore ( ) ;
protected abstract string? GetNameCore ( ) ;
protected virtual string? GetHelpTextCore ( ) = > null ;
protected virtual string? GetHelpTextCore ( ) = > null ;
protected virtual string? GetPlaceholderTextCore ( ) = > null ;
protected virtual AutomationLandmarkType ? GetLandmarkTypeCore ( ) = > null ;
protected virtual AutomationLandmarkType ? GetLandmarkTypeCore ( ) = > null ;
protected virtual int GetHeadingLevelCore ( ) = > 0 ;
protected virtual int GetHeadingLevelCore ( ) = > 0 ;
protected virtual string? GetItemTypeCore ( ) = > null ;
protected virtual string? GetItemTypeCore ( ) = > null ;