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

I am creating a music player app so what i want to automatically load all songs from phone or windows computer and display them in a listView so that I can use them to play from selecting them.

I am kind of a beginner :)

Thanks

Didi
Telerik team
 updated answer on 05 Sep 2023
1 answer
57 views

I know you can set the StrokeLineCap on the default MAUI canvas object but I can't find a similar option in the Telerik controls. 

I am trying to draw something like in the attached pic. This is easy enough with your RadArc but there doesn't seem to be an option for rounded ends. 

The example app has a straight line with rounded ends but this is achieved by putting arcs on either end manually. I will be animating this as well so manually animating custom rounded ends as the arc moves around could be tricky.

Any suggestions?

Thanks!

Didi
Telerik team
 answered on 24 Aug 2022
0 answers
69 views

I'm trying to follow your example for the arc segment here: https://docs.telerik.com/devtools/maui/controls/path/geometry-structure

However, when I use your example code my app throws an out of memory exception trying to draw the image. 

The error message suggests that it's trying to draw an enormous image.

"[Bitmap] OOM allocating Bitmap with dimensions 1080 x 16777216"

Any suggestions? I have copy pasted the example code exactly as it is in the link provided (although I removed the style attribute as I don't have the static resource it's referencing)

 

Angus
Top achievements
Rank 1
Iron
 updated question on 23 Aug 2022
1 answer
54 views

Hi,

I want to achieve this UI using path.

Thanks,

 <ControlTemplate x:Key="dropDowViewFooterTemplate">
                <telerikMauiControls:RadBorder BackgroundColor="{TemplateBinding BackgroundColor}"
                                               BorderColor="{TemplateBinding BorderColor}"
                                               BorderThickness="{TemplateBinding BorderThickness}"
                                               CornerRadius="{TemplateBinding CornerRadius}">
                    <Grid ColumnSpacing="0"
                          RowSpacing="0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="auto" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <telerikMauiControls:RadButton Grid.Column="0" HorizontalOptions="Center" VerticalOptions="Center"
                                               Text="{TemplateBinding CancelButtonText}"
                                               Style="{TemplateBinding CancelButtonStyle}"
                                               Command="{TemplateBinding CancelCommand}"/>
                        <telerikMauiControls:RadButton Grid.Column="2" HorizontalOptions="Center" VerticalOptions="Center"
                                               Text="{TemplateBinding AcceptButtonText}"
                                               Style="{TemplateBinding AcceptButtonStyle}"
                                               Command="{TemplateBinding AcceptCommand}"/>
                    </Grid>
                </telerikMauiControls:RadBorder>
            </ControlTemplate>

Lance | Senior Manager Technical Support
Telerik team
 answered on 14 Apr 2022
1 answer
64 views

Hi,

From link: https://docs.telerik.com/devtools/maui/controls/path/geometry-structure

Is not working

 


<telerikPrimitives:RadPath x:Name="simpleLinePath"
                           StrokeThickness="4"
                           Stroke="#2EC262">
    <telerikCommon:RadPathGeometry>
        <telerikCommon:RadPathFigure StartPoint="0.8, 0.1">
            <telerikCommon:RadLineSegment Point="0.1, 0.8" />
        </telerikCommon:RadPathFigure>
    </telerikCommon:RadPathGeometry>
</telerikPrimitives:RadPath>

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 22 Mar 2022
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?