In Development
Last Updated: 15 Apr 2024 11:56 by ADMIN

Expose command that executes when checkbox state changes.

Currently I am using EventToCommandBehavior:

 

    <VerticalStackLayout>
        <telerik:RadCheckBox x:Name="checkbox">
            <telerik:RadCheckBox.Behaviors>
                <telerik:RadEventToCommandBehavior EventName="IsCheckedChanged" Command="{Binding CheckedCommand}" />
            </telerik:RadCheckBox.Behaviors>
        </telerik:RadCheckBox>
    </VerticalStackLayout>

 

 

public class ViewModel : NotifyPropertyChangedBase
{
    public ViewModel()
    {
        this.CheckedCommand = new Command<IsCheckedChangedEventArgs>(this.CheckBoxUserCommand);
    }

    private void CheckBoxUserCommand(IsCheckedChangedEventArgs obj)
    {
        // logic here:
    }

    public ICommand CheckedCommand { get; set; }  
}

 

 

 

In Development
Last Updated: 15 Apr 2024 10:13 by ADMIN
Scheduled for 7.0.0 (2024 Q2)
I want to achieve the dropdown size dynamically based on the item count. I would also like to set a maximum height, so if more items are loaded, the dropdown should be scrolled to that size.
In Development
Last Updated: 15 Apr 2024 10:13 by ADMIN
Scheduled for 7.0.0 (2024 Q2)
Created by: PalmSens
Comments: 0
Category: TabView
Type: Feature Request
3
The TabView only supports unbound mode and there is no way to bind a collection of items from the view model to display as tabviewitems