Table of Contents

Method ToggleBoolMember

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

ToggleBoolMember(Type?, object?, string)

Toggles boolean field or property specified by the type (or instance) and name.

public static bool? ToggleBoolMember(Type? type, object? instance, string propName)

Parameters

type Type

Type of the object with the property.

instance object

Instance which contains the property. Specify Null, for the static properties.

propName string

Property name.

Returns

bool?