Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FontSettings.SetValueIfNotDefaultOrClearIfUnset(Control, String) Method

In This Article

Sets the specified dependency property on the specified control according to the value contained the current settings, or clears the dependency property if the corresponding value is not specified in the current settings.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v24.2.dll

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public void SetValueIfNotDefaultOrClearIfUnset(
    Control control,
    string propertyName
)

#Parameters

Name Type Description
control Control

A Control on which to set the dependency property.

propertyName String

A string value that specifies name of the dependency property to set.

See Also