Table of Contents

Method SetProps

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetProps(object?, bool)

Clears properties and calls AddProps(object?, IPropertyGridItem?, bool) afterwards.

public virtual void SetProps(object? instance, bool sort = false)

Parameters

instance object

Object instance which properties will be added.

sort bool

Optional. Equals false by default. If true, properties will be sorted ascending dy name.