UIElement.IsVisibleChanged 事件


在此元素的 IsVisible 属性值更改时发生。Occurs when the value of the IsVisible property changes on this element.

 event System::Windows::DependencyPropertyChangedEventHandler ^ IsVisibleChanged;
public event System.Windows.DependencyPropertyChangedEventHandler IsVisibleChanged;
member this.IsVisibleChanged : System.Windows.DependencyPropertyChangedEventHandler 
Public Custom Event IsVisibleChanged As DependencyPropertyChangedEventHandler 


如果布局系统未呈现元素,则不会引发此事件,原因不是 IsVisible 属性的值。This event is not raised if the element is not being rendered by the layout system, for reasons other than the value of the IsVisible property. 例如,元素可能没有关联的视觉对象。For example, the element might not have an associated visual.

此成员是 CLRCLR 事件,而不是路由事件。This member is a CLRCLR event, not a routed event.