You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Provides the type name of the <see cref="ChipBox"/> when a Microsoft UI Automation client calls GetClassName or an equivalent Microsoft UI Automation client API.
58
+
/// </summary>
59
+
/// <returns>The type name of the <see cref="ChipBox"/>.</returns>
60
+
protectedoverridestringGetClassNameCore()
61
+
{
62
+
returnthis.Owner.GetType().Name;
63
+
}
64
+
65
+
/// <summary>
66
+
/// Provides the name given to the <see cref="ChipBox"/> when a Microsoft UI Automation client calls GetName or an equivalent Microsoft UI Automation client API.
67
+
/// </summary>
68
+
/// <returns>The name of the <see cref="ChipBox"/>.</returns>
69
+
protectedoverridestringGetNameCore()
70
+
{
71
+
stringname=string.Empty;
72
+
73
+
if(string.IsNullOrEmpty(name))
74
+
{
75
+
name=base.GetNameCore();
76
+
}
77
+
78
+
if(this.OwningChip!=null)
79
+
{
80
+
name=this.OwningChip.Name;
81
+
}
82
+
83
+
if(string.IsNullOrEmpty(name))
84
+
{
85
+
name=this.GetClassName();
86
+
}
87
+
88
+
returnname;
89
+
}
90
+
91
+
/// <summary>
92
+
/// Provides the interaction patterns associated with the <see cref="Chip"/> when a Microsoft UI Automation client calls GetPattern or an equivalent Microsoft UI Automation client API.
93
+
/// </summary>
94
+
/// <param name="patternInterface">A value from the PatternInterface enumeration.</param>
95
+
/// <returns>This if it supports the pattern interface; otherwise, null.</returns>
/// Provides the interaction patterns associated with the <see cref="Chip"/> when a Microsoft UI Automation client calls GetPattern or an equivalent Microsoft UI Automation client API.
88
+
/// </summary>
89
+
/// <param name="patternInterface">A value from the PatternInterface enumeration.</param>
90
+
/// <returns>This if it supports the pattern interface; otherwise, null.</returns>
0 commit comments