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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for