Class KanbanColumn
Represents a column in SfKanban.
Inheritance
Namespace: Syncfusion.SfKanban.XForms
Assembly: Syncfusion.SfKanban.XForms.dll
Syntax
public class KanbanColumn : Element, IThemeElement
Constructors
KanbanColumn()
Initializes a new instance of the KanbanColumn class.
Declaration
public KanbanColumn()
Fields
AllowDragProperty
Identifies the AllowDrag bindable property.
Declaration
public static readonly BindableProperty AllowDragProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
AllowDropProperty
Identifies the AllowDrop bindable property.
Declaration
public static readonly BindableProperty AllowDropProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
CategoriesProperty
Identifies the Categories bindable property.
Declaration
public static readonly BindableProperty CategoriesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ErrorbarSettingsProperty
Identifies the ErrorbarSettings bindable property.
Declaration
public static readonly BindableProperty ErrorbarSettingsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsExpandedProperty
Identifies the IsExpanded bindable property.
Declaration
public static readonly BindableProperty IsExpandedProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ItemsCountProperty
Identifies the ItemsCount bindable property.
Declaration
public static readonly BindableProperty ItemsCountProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
MaximumLimitProperty
Identifies the MaximumLimit bindable property.
Declaration
public static readonly BindableProperty MaximumLimitProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
MinimumLimitProperty
Identifies the MinimumLimit bindable property.
Declaration
public static readonly BindableProperty MinimumLimitProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TitleProperty
Identifies the Title bindable property.
Declaration
public static readonly BindableProperty TitleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
AllowDrag
Gets or sets a value indicating whether a card can be dragged from this KanbanColumn.
Declaration
public bool AllowDrag { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowDrop
Gets or sets a value indicating whether a card can be dropped to this KanbanColumn.
Declaration
public bool AllowDrop { get; set; }
Property Value
Type |
---|
System.Boolean |
Categories
Gets or sets the categories of the KanbanColumn.
Declaration
public List<object> Categories { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> | List of System.Object. |
Remarks
Multiple categories can be configured for KanbanColumn.
Examples
KanbanColumn todoColumn = new KanbanColumn();
todoColumn.Categories = new List<object>() { "Open" };
ErrorbarSettings
Gets or sets a KanbanErrorBarSettings instance that is used to customize the appearance of the error bar that appears at the bottom of the header.
Declaration
public KanbanErrorBarSettings ErrorbarSettings { get; set; }
Property Value
Type | Description |
---|---|
KanbanErrorBarSettings | KanbanErrorBarSettings instance. |
Remarks
If MinimumLimit constraint is not satisfied then the error bar is applied with MinValidationColor. IfMaximumLimit constraint is not satisfied then the error bar is applied withMaxValidationColor. Otherwise Color will be applied.
Examples
<kanban:KanbanColumn.ErrorbarSettings>
<kanban:KanbanErrorBarSettings Color = "Red" Height="10"
MaxValidationColor="Green"
MinValidationColor="Blue">
</kanban:KanbanErrorBarSettings>
</kanban:KanbanColumn.ErrorbarSettings>
KanbanColumn todoColumn = new KanbanColumn();
KanbanErrorBarSettings errorbarSettings = new KanbanErrorBarSettings()
{
MinValidationColor = Color.Green,
MaxValidationColor = Color.Blue,
Color = Color.Red,
Height = 10
};
todoColumn.ErrorbarSettings = errorbarSettings;
IsExpanded
Gets or sets a value indicating whether the KanbanColumn is in expanded state.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type |
---|
System.Boolean |
ItemsCount
Gets the KanbanColumn's card count.
Declaration
public int ItemsCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | KanbanColumn's card count. |
MaximumLimit
Gets or sets a value that denotes the maximum card limit constraint for the KanbanColumn.
Declaration
public int MaximumLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Maximum card limit value. |
Remarks
If the card count is greater than MaximumLimit then MaxValidationColor will be applied to the error bar.
MinimumLimit
Gets or sets a value that denotes the minimum card limit constraint for the KanbanColumn.
Declaration
public int MinimumLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Minimum card limit value. |
Remarks
If the card count is less than MinimumLimit then MinValidationColor will be applied to the error bar.
Title
Gets or sets the title content for the KanbanColumn.
Declaration
public string Title { get; set; }
Property Value
Type |
---|
System.String |
Methods
OnParentSet()
Method called when parent set changed.
Declaration
protected override void OnParentSet()