SearchPaneVisibilityChangedEventArgs.Visible 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示搜索窗格是否已打开。
public:
property bool Visible { bool get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("ISearchPaneVisibilityChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.ApplicationModel.Search.SearchContract)]
bool Visible();
/// [get: Windows.Foundation.Metadata.Deprecated("ISearchPaneVisibilityChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.ApplicationModel.Search.SearchContract")]
bool Visible();
public bool Visible { [Windows.Foundation.Metadata.Deprecated("ISearchPaneVisibilityChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.ApplicationModel.Search.SearchContract))] get; }
public bool Visible { [Windows.Foundation.Metadata.Deprecated("ISearchPaneVisibilityChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.ApplicationModel.Search.SearchContract")] get; }
var boolean = searchPaneVisibilityChangedEventArgs.visible;
Public ReadOnly Property Visible As Boolean
属性值
Boolean
bool
true
如果搜索窗格处于打开状态,则为 ;否则为 false
。
- 属性