Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / EditCollectionControl Class / ShowButton Property

In This Topic
    ShowButton Property (EditCollectionControl)
    In This Topic
    Gets or sets a System.Boolean value determining whether control should show button for external editing or ComboBox for the single selection.
    Syntax
    'Declaration
     
    
    Public Property ShowButton As Boolean
    public bool ShowButton {get; set;}

    Property Value

    The default value is true.
    Remarks

    If this property is true, control shows Button and TextBox. In such case editing and selection from the source collection is implemented by the C1Scheduler.SelectFromListDialogCommand command.

    If this property is false, controls shows ComboBox for the single selection. In this case, TargetCollection is updated automatically when user selects ComboBox item.

    See Also