17 references to SemanticProperties
Microsoft.Maui.Controls (17)
Compatibility\iOS\Extensions\AccessibilityExtensions.cs (4)
29
var semantics =
SemanticProperties
.UpdateSemantics(Element, null);
52
var semantics =
SemanticProperties
.UpdateSemantics(Element, null);
75
var semantics =
SemanticProperties
.UpdateSemantics(Element, null);
99
var semantics =
SemanticProperties
.UpdateSemantics(Element, null);
SemanticProperties.cs (6)
10
public static readonly BindableProperty DescriptionProperty = BindableProperty.CreateAttached("Description", typeof(string), typeof(
SemanticProperties
), default(string));
13
public static readonly BindableProperty HintProperty = BindableProperty.CreateAttached("Hint", typeof(string), typeof(
SemanticProperties
), default(string));
16
public static readonly BindableProperty HeadingLevelProperty = BindableProperty.CreateAttached("HeadingLevel", typeof(SemanticHeadingLevel), typeof(
SemanticProperties
), SemanticHeadingLevel.None);
50
SemanticProperties
.DescriptionProperty,
51
SemanticProperties
.HintProperty,
52
SemanticProperties
.HeadingLevelProperty,
Shell\BaseShellItem.cs (3)
544
previousBindingContext =
SemanticProperties
.FakeBindSemanticProperties(bsi, g);
548
if (!g.IsSet(
SemanticProperties
.DescriptionProperty))
550
g.SetBinding(
SemanticProperties
.DescriptionProperty, static (BaseShellItem item) => item.Title);
VisualElement\VisualElement.cs (1)
1986
_semantics =
SemanticProperties
.UpdateSemantics(this, _semantics);
VisualElement\VisualElement.Mapper.cs (3)
28
viewMapper.ReplaceMapping<IView, IViewHandler>(
SemanticProperties
.DescriptionProperty.PropertyName, MapSemanticPropertiesDescriptionProperty);
29
viewMapper.ReplaceMapping<IView, IViewHandler>(
SemanticProperties
.HintProperty.PropertyName, MapSemanticPropertiesHintProperty);
30
viewMapper.ReplaceMapping<IView, IViewHandler>(
SemanticProperties
.HeadingLevelProperty.PropertyName, MapSemanticPropertiesHeadingLevelProperty);