XamlOptionalChanges.DisableChange(XamlChangeId) Method
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.
Disables the specified optional XAML behavior change.
public:
static bool DisableChange(XamlChangeId changeId);
static bool DisableChange(XamlChangeId const& changeId);
public static bool DisableChange(XamlChangeId changeId);
function disableChange(changeId)
Public Shared Function DisableChange (changeId As XamlChangeId) As Boolean
Parameters
- changeId
- XamlChangeId
The identifier of the change to disable.
Returns
bool
true if the change was successfully disabled; otherwise, false. Returns false if changes have been locked.
Remarks
This method must be called before XAML initialization.