Class LayoutEngineCustomAction
- Namespace
- Whim
- Assembly
- Whim.dll
The payload for a custom action for a layout engine to perform, via PerformCustomAction<T>(LayoutEngineCustomAction<T>).
public record LayoutEngineCustomAction : IEquatable<LayoutEngineCustomAction>
- Inheritance
-
LayoutEngineCustomAction
- Implements
- Derived
- Inherited Members
Properties
Name
The name of the action. This should be unique to the layout engine type.
public required string Name { get; init; }
Property Value
Window
The window that triggered the action, if any. Proxy layout engines may use this for their
own purposes - for example, the ProxyFloatingLayoutEngine.
This is deliberately set to required to force the specification of the triggering window, where possible.
public required IWindow? Window { get; init; }