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