How to common the grid header styles (Dark & light), by repeating each column header for light & dark theme it'll increase the number of code, need to common all headers styles.
please give me a solution...
Thanks...
Hello,
I created an interface using library 2020.2.624.1 in Xamarin Forms project in which there are two different chart:
- a pie chart, where are showed all my data collection
- a stacked bar chart, in which are showed different data derived from the previous dataset.
In my ViewModel I calculate data for the pie chart and then data for the bar chart. In my XAML View, each chart has different "ItemSource".
What happened is that, at the end of calculation, the same data showed (correctly) in the stacked bar chart are also showed (incorrectly) in the pie chart (see attached image).
On the other hand, when I exclude (comment) calculation for the stacked bar chart, the correct dataset is showed on the pie chart.
I am not able to find any solution.
Thanks in advance,
Davide
Hi, I'm getting the following error when building my Xamarin.Forms project on iOS. Weirdly enough it was working fine the other day and now it consistently gives me this error. The application itself launches on iOS but half the pages are missing and some pages are missing components.
The type initializer for 'Telerik.XamarinForms.SkiaSharp.SkiaPainter' threw an exception.
Exception of type 'System.Exception' was thrown.
Telerik.XamarinForms.Common
at Telerik.XamarinForms.Common.NativeResourceProvider.ToPlatformPixels (System.Double dip) [0x00000] in <c043edb38e3c40609bb9cbd0df9066be>:0
at Telerik.XamarinForms.SkiaSharp.SkiaPainter.UpdateExpectedPpxToDpRatio () [0x00000] in <5c673afa45f14dd59e1a272b3f01ee1a>:0
at Telerik.XamarinForms.SkiaSharp.SkiaPainter..cctor () [0x00017] in <5c673afa45f14dd59e1a272b3f01ee1a>:0
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at Telerik.XamarinForms.Primitives.RadPath..ctor () [0x0001b] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.Animation1.CreatePath (System.Int32 figuresCount, System.Double thickness) [0x0005d] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.Animation1..ctor (Xamarin.Forms.Color color) [0x00049] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.AnimationFactory+<>c.<.cctor>b__1_0 (Xamarin.Forms.Color p) [0x00000] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.AnimationFactory.CreateAnimation (Telerik.XamarinForms.Primitives.AnimationType animationType, Xamarin.Forms.Color color) [0x00019] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.RadBusyIndicator.PrepareAnimations () [0x00029] in <38c0677356f14f22a10877afa8da8671>:0
at Telerik.XamarinForms.Primitives.RadBusyIndicator..ctor () [0x0002d] in <38c0677356f14f22a10877afa8da8671>:0
Hello Guys,
According to the meta data,
The Xamarin RichTextEditor's SelectionRange object is settable
//
// Description:
// Gets or sets the selection range of the text in the Telerik.XamarinForms.RichTextEditor.RadRichTextEditor.
public RichTextSelectionRange SelectionRange { get; set; }
So I tried to "set" the SelectionRange by code:
public void SetSelecionRange(int startIndex, int endIndex)
{
EditBox.SelectionRange = new RichTextSelectionRange(startIndex, endIndex);
}
But actually nothing happens, and I am not sure the how the start and end index of the selection is configured, perhaps based on the html code index? or plain text index?
I am not able to find the guide for setting selection range.
Please offer some help.
I'm using <telerikInput:RadCalendar> with All Day option, in which I am able to set the background color dynamically for all appointments within the time slots, but I cannot able to set the background color dynamically for All Day slot alone.
Hi,
I'm trying to apply Light & Dark theme changes to telerikDataGrid rows and headers,
Header code snippet
<telerikDataGrid:DataGridTextColumn
<telerikDataGrid:RadDataGrid.RowBackgroundStyle>
<telerikDataGrid:DataGridBorderStyle
BackgroundColor="#ffffff"
BorderColor="#F0EFF3"
BorderThickness="1" />
</telerikDataGrid:RadDataGrid.RowBackgroundStyle>
abouve code snippet has changed to Like this to apply theme changes
<telerikDataGrid:RadDataGrid.RowBackgroundStyle>
<telerikDataGrid:DataGridBorderStyle
BackgroundColor="{AppThemeBinding Dark={StaticResource SecondryBackgroundColorLight},
Light={StaticResource SecondryBackgroundColorLight}}"
BorderColor="{AppThemeBinding Dark={StaticResource MainBorderColorDark},
Light={StaticResource ListItemBorderColorLight}}"
BorderThickness="1" />
</telerikDataGrid:RadDataGrid.RowBackgroundStyle>
But above way is not working, is there any working way to set theme changes to the Telerik data grid header body & text,
Please share with me.
Thanks...
<telerikDataGrid:DataGridTextColumn.HeaderStyle> <AppThemeBinding> <AppThemeBinding.Light> <telerikDataGrid:DataGridColumnHeaderStyle BackgroundColor="#ffffff" BorderColor="#F0EFF3" BorderThickness="1"/> </AppThemeBinding.Light> <AppThemeBinding.Dark> <telerikDataGrid:DataGridColumnHeaderStyle BackgroundColor="#2a3137" BorderColor="#505d68" BorderThickness="1"/> </AppThemeBinding.Dark> </AppThemeBinding> </telerikDataGrid:DataGridTextColumn.HeaderStyle>