Open.Core.ViewBase.OnIsVisibleChanging C# (CSharp) Method

OnIsVisibleChanging() protected method

Invoked when the 'IsVisible' property is causing the visibility to change.
Override this method to intercept the visibility value which is ultmately used to chance the CSS value. For instance, this is useful when you want to retain the 'IsVisible' property value as a logical value, but cause the control to be hidden like when a tab should be shown (logically), but is overflowing off the screen so should be hidden.
protected OnIsVisibleChanging ( bool isVisible ) : bool
isVisible bool The IsVisible value.
return bool
        protected virtual bool OnIsVisibleChanging(bool isVisible) { return isVisible; }
        protected virtual void OnIsVisibleChanged() { }