Skip to content

uwidgets.core.models.settings.layout

GitHub Action edited this page Oct 3, 2024 · 2 revisions

Layout

Namespace: uWidgets.Core.Models.Settings

Widget sizing and positioning settings.

public class Layout : System.IEquatable`1[[uWidgets.Core.Models.Settings.Layout, uWidgets.Core, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectLayout
Implements IEquatable<Layout>
Attributes NullableContextAttribute, NullableAttribute

Properties

EqualityContract

protected Type EqualityContract { get; }

Property Value

Type

SnapSize

Should widget's size be snapped to the grid

public bool SnapSize { get; set; }

Property Value

Boolean

LockSize

Disable resizing a widget

public bool LockSize { get; set; }

Property Value

Boolean

SnapPosition

Should widget's position be snapped to the grid

public bool SnapPosition { get; set; }

Property Value

Boolean

LockPosition

Disable moving a widget

public bool LockPosition { get; set; }

Property Value

Boolean

Constructors

Layout(Boolean, Boolean, Boolean, Boolean)

Widget sizing and positioning settings.

public Layout(bool SnapSize, bool LockSize, bool SnapPosition, bool LockPosition)

Parameters

SnapSize Boolean
Should widget's size be snapped to the grid

LockSize Boolean
Disable resizing a widget

SnapPosition Boolean
Should widget's position be snapped to the grid

LockPosition Boolean
Disable moving a widget

Layout(Layout)

protected Layout(Layout original)

Parameters

original Layout

Methods

ToString()

public string ToString()

Returns

String

PrintMembers(StringBuilder)

protected bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

Boolean

GetHashCode()

public int GetHashCode()

Returns

Int32

Equals(Object)

public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(Layout)

public bool Equals(Layout other)

Parameters

other Layout

Returns

Boolean

<Clone>$()

public Layout <Clone>$()

Returns

Layout

Deconstruct(Boolean&, Boolean&, Boolean&, Boolean&)

public void Deconstruct(Boolean& SnapSize, Boolean& LockSize, Boolean& SnapPosition, Boolean& LockPosition)

Parameters

SnapSize Boolean&

LockSize Boolean&

SnapPosition Boolean&

LockPosition Boolean&

Clone this wiki locally