Class KanbanColumn
Represents a column in SfKanban.
Inheritance
Implements
Namespace: Syncfusion.SfKanban.Android
Assembly: Syncfusion.SfKanban.Android.dll
Syntax
public class KanbanColumn : LinearLayout, View.IOnClickListener, IJavaObject, IDisposable, IJavaPeerable
Constructors
KanbanColumn(Context)
Initializes the new instance of KanbanColumn class.
Declaration
public KanbanColumn(Context context)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context |
Properties
AllowDrag
Gets or sets a value that indicates whether a card can be dragged/>.
Declaration
public bool AllowDrag { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowDrop
Gets or sets a value that indicates whether a card can be dropped/>.
Declaration
public bool AllowDrop { get; set; }
Property Value
Type |
---|
System.Boolean |
Categories
Gets or sets the categories for this column.
Declaration
public List<object> Categories { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> | The categories. |
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
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 to expand/collapse the column.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The is expanded. |
ItemsCount
Gets the items count.
Declaration
public int ItemsCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The items 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 of this column.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Methods
InsertItem(Object, Int32)
Dynamically add item to column.
Declaration
public void InsertItem(object data, int position)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | Data. |
System.Int32 | position | Position. |
OnAttachedToWindow()
Declaration
protected override void OnAttachedToWindow()
OnClick(View)
Declaration
public void OnClick(View v)
Parameters
Type | Name | Description |
---|---|---|
Android.Views.View | v |
OnLayout(Boolean, Int32, Int32, Int32, Int32)
Declaration
protected override void OnLayout(bool changed, int l, int t, int r, int b)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | changed | |
System.Int32 | l | |
System.Int32 | t | |
System.Int32 | r | |
System.Int32 | b |
RemoveItem(Object)
Dynamically remove item from column
Declaration
public void RemoveItem(object data)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | Data. |