<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
x:Class="Toolbar.MainPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:Toolbar"
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
x:DataType="local:MainPageViewModel">
<ContentPage.Resources>
<ResourceDictionary>
<Style
x:Key="ActionMenuButtonToolbarItemViewBaseStyle"
ApplyToDerivedTypes="True"
TargetType="telerik:ButtonToolbarItemView">
<Setter Property="DisplayOptions" Value="Text" />
<Setter Property="TextColor" Value="White" />
<Setter Property="FontFamily" Value="{x:Static telerik:TelerikFont.Name}" />
<Setter Property="FontSize" Value="16" />
<Setter Property="ToolTipProperties.Text" Value="click to change count" />
</Style>
</ResourceDictionary>
</ContentPage.Resources>
<ScrollView>
<VerticalStackLayout Padding="30,0" Spacing="25">
<telerik:RadToolbar x:Name="toolbarButtons" AutomationId="toolbarButtons">
<telerik:ButtonToolbarItem
Command="{Binding ButtonClickedCommand}"
Style="{StaticResource ActionMenuButtonToolbarItemViewBaseStyle}"
Text="{x:Static telerik:TelerikFont.IconUpOpen}" />
</telerik:RadToolbar>
</VerticalStackLayout>
</ScrollView>
</ContentPage>
I would like to draw attention to this at an early stage.
When using MAUI Nightly 8.0.20-nightly.10376, the app crashes immediately upon startup if you set Telerik Popup Settings in the MAUI Styles
See min repro example https://github.com/baaaaif/MauiNightlyCrash
<MauiVersion>8.0.20-nightly.10376</MauiVersion>
<Style TargetType="telerik:RadTimePicker">
<Setter Property="PopupSettings">
<Setter.Value>
<telerik:PickerPopupSettings IsHeaderVisible="False" />
</Setter.Value>
</Setter>
</Style>
From the inner Exception...:
Name | Value | Type | |
---|---|---|---|
◢ | InnerException | {"Object reference not set to an instance of an object."} | System.Exception {System.NullReferenceException} |
at Microsoft.Maui.Controls.AppThemeBinding.AppThemeProxy..ctor(Element parent, AppThemeBinding binding) at Microsoft.Maui.Controls.AppThemeBinding.Apply(Object context, BindableObject bindObj, BindableProperty targetProperty, Boolean fromBindingContextChanged, SetterSpecificity specificity) at Microsoft.Maui.Controls.BindableObject.SetBinding(BindableProperty targetProperty, BindingBase binding, SetterSpecificity specificity) at Microsoft.Maui.Controls.BindableObject.SetBinding(BindableProperty targetProperty, BindingBase binding) at Microsoft.Maui.Controls.BindableObjectExtensions.SetAppTheme[T](BindableObject self, BindableProperty targetProperty, T light, T dark) at Microsoft.Maui.Controls.BindableObjectExtensions.SetAppThemeColor(BindableObject self, BindableProperty targetProperty, Color light, Color dark) at Telerik.Maui.Controls.PickerPopupSettings.OnPopupOutsideBackgroundColorPropertyChanged(Color color) at Telerik.Maui.Controls.PickerPopupSettings..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
Hello,
Id would be great having basic editing functionalities in MAUI PDFViewer as you offer in WPF version.
Especially we're interested in having ability to add text and basic shape annotations.
Best Regards,
Raymond
When we set a corner radius for the header the background is overlapping the border so header will not have rounded corners.
<Style TargetType="telerik:AccordionItemHeader">
<Setter Property="BackgroundColor" Value="Blue" />
<Setter Property="BorderColor" Value="Red" />
<Setter Property="BorderThickness" Value="2" />
<Setter Property="CornerRadius" Value="8" />
</Style>
</telerik:AccordionItem.Resources>
This is a feature request for an annotations layer that provides lines, shapes, text, etc.
These annotations:
As an example of these features, see Techsmith's SnagIt Editor app.
The Bottom Sheet component provides an intuitive way to display additional content to the users. It appears on the bottom of a screen as an overlay and presents users with a choice of actions that they must take.