Class GridLayoutChild
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class GridLayoutChild : LayoutChild, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
GridLayoutChild
- Implements
- Inherited Members
Constructors
GridLayoutChild(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public GridLayoutChild(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
GridLayoutChild(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GridLayoutChild(CreationData data)
Parameters
dataCreationData
GridLayoutChild(GridLayoutChildHandle)
protected GridLayoutChild(GridLayoutChildHandle handle)
Parameters
handleGridLayoutChildHandle
Fields
ColumnPropertyDefinition
public static readonly Property<int, GridLayoutChild> ColumnPropertyDefinition
Field Value
ColumnSpanPropertyDefinition
public static readonly Property<int, GridLayoutChild> ColumnSpanPropertyDefinition
Field Value
RowPropertyDefinition
public static readonly Property<int, GridLayoutChild> RowPropertyDefinition
Field Value
RowSpanPropertyDefinition
public static readonly Property<int, GridLayoutChild> RowSpanPropertyDefinition
Field Value
Properties
Column
public int Column { get; set; }
Property Value
ColumnSpan
public int ColumnSpan { get; set; }
Property Value
Row
public int Row { get; set; }
Property Value
RowSpan
public int RowSpan { get; set; }
Property Value
Methods
GetColumn()
public int GetColumn()
Returns
GetColumnSpan()
public int GetColumnSpan()
Returns
GetGType()
public static Type GetGType()
Returns
GetRow()
public int GetRow()
Returns
GetRowSpan()
public int GetRowSpan()
Returns
NewFromPointer(nint, bool)
Creates a new managed GridLayoutChild instance for a given pointer.
public static GridLayoutChild NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new GridLayoutChild and sets the properties specified by the construct arguments.
public static GridLayoutChild NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetColumn(int)
public void SetColumn(int column)
Parameters
columnint
SetColumnSpan(int)
public void SetColumnSpan(int span)
Parameters
spanint
SetRow(int)
public void SetRow(int row)
Parameters
rowint
SetRowSpan(int)
public void SetRowSpan(int span)
Parameters
spanint