Skip to main content

FontSettings.SetValueIfNotDefaultOrClearIfUnset(Control, String) Method

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.v23.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