Skip to main content

CollectionDefinition.SetHideCollectionButton(DependencyObject, Nullable<Boolean>) Method

Sets the value of the CollectionDefinition.HideCollectionButton attached property for the specified object.

Namespace: DevExpress.Xpf.PropertyGrid

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

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public static void SetHideCollectionButton(
    DependencyObject element,
    bool? value
)

Parameters

Name Type Description
element DependencyObject

An object whose CollectionDefinition.HideCollectionButton attached property is to be set.

value Nullable<Boolean>

The new value of the CollectionDefinition.HideCollectionButton attached property for the specified object.

See Also