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
nintHandle to the window that the property will be set on
propKey
PropertyKeyThe property to set
value
stringThe 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
WindowWindow that the property will be set on
propKey
PropertyKeyThe property to set
value
stringThe value to set for the property