Click or drag to resize
CalculationWorks Logo
Creating a Custom Column Behavior Item
Creating a Custom Column Behavior Item

The example shows a custom column behavior item with additional meta data.

public class UiInfoBehavior : BcfColumnBehaviorItemBase {

    [BcfProperty]
    public string Name { get; set; }

    [BcfProperty]
    public string ToolTip { get; set; }

    public string GetName() {
        return string.IsNullOrEmpty(Name) ? Column.Name : Name;
    }
}
See Also