SearchPaneVisibilityChangedEventArgs.Visible 属性

定义

指示搜索窗格是否已打开。

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

属性

适用于

另请参阅