UIElement.IsVisibleChanged 事件

定義

當這個項目的 IsVisible 屬性值變更時發生。Occurs when the value of the IsVisible property changes on this element.

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

事件類型

DependencyPropertyChangedEventHandler

備註

如果配置系統未轉譯元素(基於屬性值以外的原因),則不會引發此事件 IsVisibleThis 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.

適用於