Telerik Forums
UI for .NET MAUI Forum
1 answer
138 views

I have a button where I want to navigate to another page with the object of the combobox as the command parameter of the button that the user clicks. How do I reference the object in the command parameter.

 


<telerik:RadComboBox x:Name="arresteeListPicker" ItemsSource="{Binding Arrestees}"
                                           DisplayMemberPath="ArresteeFullName"
                                         Placeholder="Arrestees"
                                         IsEditable="False">
                        
                        <telerik:RadComboBox.ItemTemplate>
                            <DataTemplate x:DataType="model:Arrestee">
                                <Label Text="{Binding ArresteeFullName}"
                                      ></Label>
                            </DataTemplate>
                        </telerik:RadComboBox.ItemTemplate>
                    </telerik:RadComboBox>
                    <Button x:Name="selectArresteeBtn"
                            Text="Select"
                            Command="{Binding SelectArresteeCommand}" 
                            CommandParameter= ?????????
                            WidthRequest="70"
                            HorizontalOptions="Start"
                            Margin="0, 10, 0, 0"
                            />

 

Thank you in advance,

Scott

Didi
Telerik team
 answered on 05 Sep 2023
1 answer
142 views
In Telerik UI for .NET MAUI, design themes cannot be found in the documentation like in WPF. Are the components such as color themes, Margin, Corner, etc. that have been redefined from simple color themes currently planned? Or do they have to be redefined and used manually?
Maria
Telerik team
 answered on 30 Jan 2023
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?