Table of Contents

Class WindowProperties

Namespace
Microsoft.WindowsAPICodePack.Shell.PropertySystem
Assembly
Microsoft.WindowsAPICodePack.Shell.dll

Helper class to modify properties for a given window

public static class WindowProperties
Inheritance
WindowProperties
Inherited Members

Methods

SetWindowProperty(nint, PropertyKey, string)

Sets a shell property for a given window

public static void SetWindowProperty(nint windowHandle, PropertyKey propKey, string value)

Parameters

windowHandle nint

Handle to the window that the property will be set on

propKey PropertyKey

The property to set

value string

The value to set for the property

SetWindowProperty(Window, PropertyKey, string)

Sets a shell property for a given window

public static void SetWindowProperty(Window window, PropertyKey propKey, string value)

Parameters

window Window

Window that the property will be set on

propKey PropertyKey

The property to set

value string

The value to set for the property