ModulePage.CanRefresh Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the page supports refreshing.
protected:
virtual property bool CanRefresh { bool get(); };
protected virtual bool CanRefresh { get; }
member this.CanRefresh : bool
Protected Overridable ReadOnly Property CanRefresh As Boolean
Property Value
true
if refresh is supported; otherwise, false
. The default is false
.
Implements
Examples
The following example implements the CanRefresh method.
protected override bool CanRefresh {
get {
if (_busy)
return false;
return true;
}
}
Remarks
If the value of the CanRefresh property is true
, you must override the Refresh method to provide functioning implementation.