Show / Hide Table of Contents

Class IgbColumnWidth

Represents a width of a column.

Inheritance
System.Object
BaseRendererElement
IgbColumnWidth
Implements
JsonSerializable
Inherited Members
BaseRendererElement._name
BaseRendererElement._cachedSerializedContent
BaseRendererElement.BuildRenderTree(RenderTreeBuilder)
BaseRendererElement.OnElementNameChanged(BaseRendererElement, String, String)
BaseRendererElement.InvokeMethod(String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodSync(String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodHelper(String, String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodHelperSync(String, String, Object[], String[], ElementReference[])
BaseRendererElement.IsPropDirty(String)
BaseRendererElement.Serialize(SerializationContext, String)
BaseRendererElement.Serialize()
BaseRendererElement.EnsureValid()
BaseRendererElement.SetResourceStringAsync(String, String, String)
BaseRendererElement.SetResourceStringAsync(String, String)
BaseRendererElement.IgBlazor
BaseRendererElement.IsComponentRooted
BaseRendererElement.ParentTypeName
BaseRendererElement.UseDirectRender
BaseRendererElement.ChildContent
BaseRendererElement.SupportsVisualChildren
BaseRendererElement.Name
BaseRendererElement.Parent
BaseRendererElement.MethodTarget
BaseRendererElement.CurrParent
Namespace: IgniteUI.Blazor.Controls
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbColumnWidth : BaseRendererElement, JsonSerializable

Constructors

IgbColumnWidth()

Declaration
public IgbColumnWidth()

IgbColumnWidth(Double)

Declaration
public IgbColumnWidth(double width)
Parameters
Type Name Description
System.Double width

IgbColumnWidth(Double, Boolean)

Declaration
public IgbColumnWidth(double value, bool isStarSized)
Parameters
Type Name Description
System.Double value
System.Boolean isStarSized

IgbColumnWidth(Double, Double, Boolean)

Declaration
public IgbColumnWidth(double value, double minimumWidth, bool isStarSized)
Parameters
Type Name Description
System.Double value
System.Double minimumWidth
System.Boolean isStarSized

Properties

IsStarSized

Gets or sets whether to use star sizing for the column's width

Declaration
public bool IsStarSized { get; set; }
Property Value
Type Description
System.Boolean

MinimumWidth

Gets or sets a minimum width to use when star sizing.

Declaration
public double MinimumWidth { get; set; }
Property Value
Type Description
System.Double

Type

Declaration
public override string Type { get; }
Property Value
Type Description
System.String
Overrides
BaseRendererElement.Type

Value

Gets or sets the fixed width or the proportional width of the column, depending on whether this width is a star width.

Declaration
public double Value { get; set; }
Property Value
Type Description
System.Double

Methods

EnsureModulesLoaded()

Declaration
protected override void EnsureModulesLoaded()
Overrides
BaseRendererElement.EnsureModulesLoaded()

FindByName(String)

Declaration
public override object FindByName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Object
Overrides
BaseRendererElement.FindByName(String)

FromEventJson(BaseRendererControl, Dictionary<String, Object>)

Declaration
protected override void FromEventJson(BaseRendererControl control, Dictionary<string, object> args)
Parameters
Type Name Description
BaseRendererControl control
System.Collections.Generic.Dictionary<System.String, System.Object> args
Overrides
BaseRendererElement.FromEventJson(BaseRendererControl, Dictionary<String, Object>)

Parse(String)

Declaration
public static IgbColumnWidth Parse(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
IgbColumnWidth

Star(Double)

Declaration
public static IgbColumnWidth Star(double value)
Parameters
Type Name Description
System.Double value
Returns
Type Description
IgbColumnWidth

Star(Double, Double)

Declaration
public static IgbColumnWidth Star(double value, double minimumWidth)
Parameters
Type Name Description
System.Double value
System.Double minimumWidth
Returns
Type Description
IgbColumnWidth

ToEventJson(BaseRendererControl, Dictionary<String, Object>)

Declaration
protected override void ToEventJson(BaseRendererControl control, Dictionary<string, object> args)
Parameters
Type Name Description
BaseRendererControl control
System.Collections.Generic.Dictionary<System.String, System.Object> args
Overrides
BaseRendererElement.ToEventJson(BaseRendererControl, Dictionary<String, Object>)

WithMinimum(Double)

Declaration
public IgbColumnWidth WithMinimum(double minimumWidth)
Parameters
Type Name Description
System.Double minimumWidth
Returns
Type Description
IgbColumnWidth

Operators

Implicit(Double to IgbColumnWidth)

Declaration
public static implicit operator IgbColumnWidth(double width)
Parameters
Type Name Description
System.Double width
Returns
Type Description
IgbColumnWidth

Implicit(Int32 to IgbColumnWidth)

Declaration
public static implicit operator IgbColumnWidth(int width)
Parameters
Type Name Description
System.Int32 width
Returns
Type Description
IgbColumnWidth

Implicit(String to IgbColumnWidth)

Declaration
public static implicit operator IgbColumnWidth(string str)
Parameters
Type Name Description
System.String str
Returns
Type Description
IgbColumnWidth

Implements

JsonSerializable