ControlExtensions.BindIsVisible<T> method (1 of 2)
이 콘텐츠는 아직 번역되지 않았습니다.
Binds the visibility state to an observable value.
public static T BindIsVisible<T>(this T element, ObservableValue<bool> source) where T : UIElement| parameter | description |
|---|---|
| T | Visual type. |
| element | Target element. |
| source | Observable source. |
Return Value
Section titled “Return Value”The element for chaining.
Sets: UIElement.IsVisible
See Also
Section titled “See Also”- class ObservableValue<T>
- class UIElement
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.BindIsVisible<T,TSource> method (2 of 2)
Section titled “ControlExtensions.BindIsVisible<T,TSource> method (2 of 2)”Binds the visibility state to a converted observable value.
public static T BindIsVisible<T, TSource>(this T element, ObservableValue<TSource> source, Func<TSource, bool> convert) where T : UIElement| parameter | description |
|---|---|
| T | Visual type. |
| TSource | Observable value type. |
| element | Target element. |
| source | Observable source. |
| convert | Converts the source value to a visibility state. |
Return Value
Section titled “Return Value”The element for chaining.
See Also
Section titled “See Also”- class ObservableValue<T>
- class UIElement
- class ControlExtensions
- namespace Aprillz.MewUI.Controls