- Change OnAccessibilityActivated() access modifier to use in FH.NUI which includes NUI package
- Split NotifyPropertyChangedAndRequestLayout() into equivalent two methods, because when using PropertySet event, the changed PropertyName comes as NotifyPropertyChangedAndRequestLayout
LayoutChild();
}
- internal override bool OnAccessibilityActivated()
+ /// <summary>
+ /// This method is called when the control accessibility is activated.<br />
+ /// Derived classes should override this to perform custom accessibility activation.<br />
+ /// </summary>
+ /// <remarks>Hidden-API</remarks>
+ /// <returns>True if this control can perform accessibility activation.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override bool OnAccessibilityActivated()
{
if (!IsEnabled)
{
/// This method is called when the control accessibility is activated.<br />
/// Derived classes should override this to perform custom accessibility activation.<br />
/// </summary>
+ /// <remarks>Hidden-API</remarks>
/// <returns>True if this control can perform accessibility activation.</returns>
- internal virtual bool OnAccessibilityActivated()
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected virtual bool OnAccessibilityActivated()
{
return false;
}
{
SetValue(TextProperty, value);
selectorData?.Text.UpdateIfNeeds(this, value);
- NotifyPropertyChangedAndRequestLayout();
+ Layout?.RequestLayout();
+ NotifyPropertyChanged();
}
}