Class IgbColumnWidth
Represents a width of a column.
Inheritance
System.Object
IgbColumnWidth
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbColumnWidth : BaseRendererElement, JsonSerializable
Constructors
IgbColumnWidth()
Declaration
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
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
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
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
Parse(String)
Declaration
public static IgbColumnWidth Parse(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Star(Double)
Declaration
public static IgbColumnWidth Star(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Star(Double, Double)
Declaration
public static IgbColumnWidth Star(double value, double minimumWidth)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
System.Double |
minimumWidth |
|
Returns
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
WithMinimum(Double)
Declaration
public IgbColumnWidth WithMinimum(double minimumWidth)
Parameters
Type |
Name |
Description |
System.Double |
minimumWidth |
|
Returns
Operators
Implicit(Double to IgbColumnWidth)
Declaration
public static implicit operator IgbColumnWidth(double width)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
Returns
Implicit(Int32 to IgbColumnWidth)
Declaration
public static implicit operator IgbColumnWidth(int width)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
Returns
Implicit(String to IgbColumnWidth)
Declaration
public static implicit operator IgbColumnWidth(string str)
Parameters
Type |
Name |
Description |
System.String |
str |
|
Returns
Implements