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

 

Hi,

Look on the Select location .

 


  <telerikInput:RadListPicker Grid.Row="0" Grid.Column="3" x:Name="routeTypeListPicker"  HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand" HeightRequest="40"  WidthRequest="120" Margin="5"
                          ItemsSource="{Binding RouteTypeItems}" 
                          DisplayMemberPath="Value"
                          SelectedItem="{Binding SelectedRouteTypeItem, Mode=TwoWay}">
                    </telerikInput:RadListPicker>

Lance | Senior Manager Technical Support
Telerik team
 answered on 22 Mar 2022
1 answer
183 views

Hi,

RadListPicker - missed selected index property

Thanks,

<telerikInput:RadListPicker  x:Name="timeTypeListPicker" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand" HeightRequest="35"  WidthRequest="100"
                          ItemsSource="{Binding TimeTypesItem}" 
                          DisplayMemberPath="Value" 
                          SelectedItem="{Binding SelectedTimeTypesItem, Mode=TwoWay}" >
                                    </telerikInput:RadListPicker>


Lance | Senior Manager Technical Support
Telerik team
 answered on 22 Mar 2022
0 answers
128 views

Hey Team,

I have a question about Button Focus state, I do as below steps, after that I found the focus stats does not work any more. 

1. Create Focused state and set Border and TextColor, BorderThickness.

2. Run app on window desktop. When I use tab to shift focus. I found it is work.

3. When I keep Pressing button and mouse move out from button. Then use tab reselect button, you will see it does not work any more. 

4. By the way, if I use WidthRequest and HeightReqyest to modify button size, it doesn't work. you can see my screenshot below.

<telerikInput:RadButton x:Name="button" Grid.Row="2"
                               Text="Click me!"  
                               BackgroundColor="#313131"
                               AutomationId="button"
                               FontAttributes="Bold"
                               HorizontalContentAlignment="Center"
                               VerticalContentAlignment="Center"
                               IsEnabled="{Binding EnableCommand}"
                               Command="{Binding OperationCommand}"
                               Padding="20,20"
                               Clicked="OnButtonClick">
                <!--WidthRequest="200" 
                               HeightRequest="100">-->
                <VisualStateManager.VisualStateGroups>
                    <VisualStateGroup x:Name="CommonStates">
                        <!-- rest style -->
                        <VisualState x:Name="Normal">
                            <VisualState.Setters>
                                <Setter Property="TextColor" Value="#D2D2D2"/>
                            </VisualState.Setters>
                        </VisualState>
                        <VisualState x:Name="Focused">
                            <VisualState.Setters>
                                <Setter Property="BorderColor" Value="#5CBF4A"/>
                                <Setter Property="TextColor" Value="White"/>
                                <Setter Property="BorderThickness" Value="2"/>
                            </VisualState.Setters>
                        </VisualState>
                        <VisualState x:Name="PointerOver">
                            <VisualState.Setters>
                                <Setter Property="TextColor" Value="Red"/>
                            </VisualState.Setters>
                        </VisualState>
                        <VisualState x:Name="Pressed">
                            <VisualState.Setters>
                                <Setter Property="TextColor" Value="#A0A0A0"/>
                            </VisualState.Setters>
                        </VisualState>
                        <VisualState x:Name="Disabled">
                            <VisualState.Setters>
                                <Setter Property="TextColor" Value="Grey"/>
                            </VisualState.Setters>
                        </VisualState>
                    </VisualStateGroup>
                </VisualStateManager.VisualStateGroups>
            </telerikInput:RadButton>




    Allen
    Top achievements
    Rank 1
    Iron
    Iron
     updated question on 22 Mar 2022
    1 answer
    355 views

    Hi,

    I would like to get small sample when I click on grid a popup will be show with data in MVVM manner.

    Thanks,

     

    Lance | Senior Manager Technical Support
    Telerik team
     updated answer on 21 Mar 2022
    2 answers
    306 views

    Hi,

    I used this link and i have some problem:

    https://docs.telerik.com/devtools/maui/controls/button/howto/button-howto-create-circle-button

     <telerik:RadButton  x:Name="pushedFiles"
                             WidthRequest="120"
                            HeightRequest="120"                                
                            Text="Pulled"
                            FontSize="Micro"
                            TextColor="White"
                             CornerRadius="60" 
                             BorderWidth ="8"
                             BorderColor="Green"
                             BackgroundColor="White"
                             Margin="20"/>

    1.Only when I hover the button the text appear.

    2.I want when I hover the button border width will be greater and when i get out it go to it normal widg\th.

    3.You have mistake with namespace:

    Yana
    Telerik team
     answered on 21 Mar 2022
    1 answer
    161 views

    I want to modify RadButton Focused Border Color and Text Color . Is therea anyway to modify it for now? I found it is black like below screenshot when I use tab or mouse to select button.

    Lance | Senior Manager Technical Support
    Telerik team
     answered on 21 Mar 2022
    1 answer
    103 views

    Hi,

    I'm using UI for MAUI 0.5.0, which requires preview13.

    When to  updated my development environment to preview14,

    which require Telerik UI for MAUI 0.6.0 .

    Thanks,

    Lance | Senior Manager Technical Support
    Telerik team
     answered on 21 Mar 2022
    1 answer
    386 views

    Hi,

    How I bind the selected time to view model ?

    Thanks,

    Didi
    Telerik team
     answered on 18 Mar 2022
    1 answer
    210 views

    Hi,

    1. I'm using <telerikInput:RadTimePicker  />,

    2. I want to bind it selection to view model

    and set its value in the view model's constructor to current time.

    3. I want also to know how to set its format only to show hours .

    Thanks,

     

    Didi
    Telerik team
     answered on 18 Mar 2022
    1 answer
    770 views

    Hi,

    Rad button not disabled in this scenario,

      <telerik:RadButton  AutomationId="button" Text="Search" HorizontalOptions="CenterAndExpand" VerticalOptions="Center"  BackgroundColor="#1ABB9C" Margin="5"  Command="{Binding OnDashBoardCommand}"/>
        public ICommand OnDashBoardCommand { get; private set; }
      private void InitCommands()
            {
                OnDashBoardCommand = new Command(
                   execute: () =>
                   {
                       .........
                   },
                   canExecute: () =>
                   {
                       if (!(FromDate.HasValue && ToDate.HasValue))
                       {
                           return false;
                       }
                       return FromDate.Value <= ToDate.Value;
                   });
            }


    Lance | Senior Manager Technical Support
    Telerik team
     answered on 17 Mar 2022
    Top users last month
    Henri
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    SUNIL
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    David
    Top achievements
    Rank 1
    Jackson
    Top achievements
    Rank 1
    Iron
    Iron
    Tim
    Top achievements
    Rank 3
    Iron
    Iron
    Iron
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?