protected override AccessibilityStates AccessibilityCalculateStates()
{
var states = base.AccessibilityCalculateStates();
+ states.Set(AccessibilityState.Checked, this.IsSelected);
states.Set(AccessibilityState.Enabled, this.IsEnabled);
return states;
}
{
}
- /// <summary>
- /// Informs AT-SPI bridge about the set of AT-SPI states associated with this object.
- /// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected override AccessibilityStates AccessibilityCalculateStates()
- {
- var states = base.AccessibilityCalculateStates();
- states.Set(AccessibilityState.Checked, this.IsSelected);
- return states;
- }
-
/// <summary>
/// An event for the item selected signal which can be used to subscribe or unsubscribe the event handler provided by the user.<br />
/// </summary>