Struct WindowHints
Data used to control the behaviour and appearance of an IWindow instance.
Implements
Inherited Members
Namespace: SociallyDistant.Core.Shell.Windowing
Assembly: SociallyDistant.Framework.dll
Syntax
[Serializable]
public struct WindowHints : IEquatable<WindowHints>
Fields
ClientRendersWindowBackground
Determines whether the window's background is provided by the client UI. If set to true, the window decoration will not provide a background color for the window. This is useful for creating effects in a window such as the translucent, blurred background of Terminal.
Declaration
public bool ClientRendersWindowBackground
Field Value
Type | Description |
---|---|
bool |
Methods
Equals(WindowHints)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(WindowHints other)
Parameters
Type | Name | Description |
---|---|---|
WindowHints | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
bool | true if |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
operator ==(WindowHints, WindowHints)
Compares two WindowHints values to determine if they are equal.
Declaration
public static bool operator ==(WindowHints left, WindowHints right)
Parameters
Type | Name | Description |
---|---|---|
WindowHints | left | The left-hand operand. |
WindowHints | right | The right-hand operand. |
Returns
Type | Description |
---|---|
bool | True if the two values are identical. |
operator !=(WindowHints, WindowHints)
Compares two WindowHints values to determine if they are unequal.
Declaration
public static bool operator !=(WindowHints left, WindowHints right)
Parameters
Type | Name | Description |
---|---|---|
WindowHints | left | The left-hand operand. |
WindowHints | right | The right-hand operand. |
Returns
Type | Description |
---|---|
bool | True if the two values are unequal. |