Table of Contents

Method SetProp

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

SetProp(nint, string, nint)

Associates a string property with the specified window handle.

public static extern bool SetProp(nint window, string propertyName, nint propertyValue)

Parameters

window nint

A handle to the window.

propertyName string

The name of the property to set.

propertyValue nint

A pointer-sized value to associate with the property name.

Returns

bool

true if the property is set successfully; otherwise, false.