Hi, I am using RadVerticalGauge for my app and I am encoutering an issue similar to https://www.telerik.com/forums/radradialgauge-not-taking-full-width.
Indeed, I would like to reduce the space taken by the gauge canvas. I have tried using negative margin on the gauge but without success.
Attached the current result.
How can I achieve this ?
Thanks in advance
hi
if we set font family in autocompleteview, iOS application crashes.
in page,
FontFamily="{StaticResource RegularFont}"
in App.xaml,
<
OnPlatform
x:TypeArguments
=
"x:String"
x:Key
=
"RegularFont"
>
<
On
Platform
=
"Android"
Value
=
"Heebo-Light.ttf#Heebo Light"
/>
<
On
Platform
=
"iOS"
Value
=
"HelveticaNeue"
/>
<
On
Platform
=
"UWP"
Value
=
"Assets/Fonts/HelveticaNeue.ttf#HelveticaNeue"
/>
</
OnPlatform
>
Crash details,
Message,
Value cannot be null.
Parameter name: descriptor
Stacktrace,
at UIKit.UIFont._FromDescriptor (UIKit.UIFontDescriptor descriptor, System.nfloat pointSize) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.13/src/Xamarin.iOS/UIKit/UIFont.g.cs:106
at UIKit.UIFont.FromDescriptor (UIKit.UIFontDescriptor descriptor, System.nfloat pointSize) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.13/src/Xamarin.iOS/UIKit/UIFont.cs:179
at Telerik.XamarinForms.InputRenderer.iOS.EntryAdapter.UpdateFont (Telerik.XamarinForms.Input.RadEntry sourceOwner, Telerik.XamarinForms.InputRenderer.iOS.BorderUITextField targetOwner) [0x0007a] in <
e72706fd0dd5405fabc91cd72e3c9f5d
>:0
at Telerik.XamarinForms.InputRenderer.iOS.EntryAdapter.UpdateCore (Telerik.XamarinForms.Input.RadEntry sourceOwner, Telerik.XamarinForms.InputRenderer.iOS.BorderUITextField targetOwner, System.String propertyName) [0x0014d] in <
e72706fd0dd5405fabc91cd72e3c9f5d
>:0
at Telerik.XamarinForms.Common.FacadeAdapterBase`2[S,T].Update (System.Object sourceOwner, System.Object targetOwner, System.String propertyName, System.Object sourceOwnerRoot, System.Object targetOwnerRoot) [0x00000] in <
b1d124df8dbf4987b1a7f6b0a5485748
>:0
at Telerik.XamarinForms.Common.XamarinToNativeControlExtensions.Update[T,K] (T nativeElement, K xfЕlement, System.String propertyName, System.Object sourceOwnerRoot, System.Object targetOwnerRoot) [0x00031] in <
b1d124df8dbf4987b1a7f6b0a5485748
>:0
at Telerik.XamarinForms.InputRenderer.iOS.EntryRenderer.OnElementPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x0002a] in <
e72706fd0dd5405fabc91cd72e3c9f5d
>:0
at (wrapper delegate-invoke) <
Module
>.invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs)
at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:150
at Xamarin.Forms.Element.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:370
at Telerik.XamarinForms.Input.RadEntry.OnPropertyChanged (System.String propertyName) [0x0002a] in <
e72706fd0dd5405fabc91cd72e3c9f5d
>:0
at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) [0x00114] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:623
at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) [0x0015b] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:417
at Xamarin.Forms.BindingExpression.ApplyCore (System.Object sourceObject, Xamarin.Forms.BindableObject target, Xamarin.Forms.BindableProperty property, System.Boolean fromTarget) [0x00225] in D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:173
at Xamarin.Forms.BindingExpression.Apply (System.Boolean fromTarget) [0x0003e] in D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:57
at Xamarin.Forms.BindingExpression+BindingExpressionPart.<
PropertyChanged
>b__49_0 () [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:615
at Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.13/src/Xamarin.iOS/Foundation/NSAction.cs:152
at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.13/src/Xamarin.iOS/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.13/src/Xamarin.iOS/UIKit/UIApplication.cs:63
at listLayout.iOS.Application.Main (System.String[] args) [0x00001] in /Users/xamarindev/Documents/sample/listLayout/listLayout/listLayout.iOS/Main.cs:17
Hi
We are using RadEntry as entry in our project. If you see the attached image, we want to use WatermarkText as placeholder where the text will have regular color & asterisk will be in red. Is it possible in RadEntry?
The latest Xamarin.Forms (3.5.0.129452, just released) requires, for Android Pie, the latest Android Support Library series (28.0.0.1). Upgrading all these in an Android project using Telerik will not build in VS 2017 until the ancient Xamarin.Android.Support.V8.RenderScript, not available in that series, is removed. Unfortunately Telerik requires that dll for some controls. Although the project can then build, it crashes on trying to use a dependent control.
To put it another way, it would seem Telerik needs to remove its dependencies on RenderScript, seeing that Xamarin has not seen fit to update it.
PdfViewer : FitToWidth on StartUp?
Is there a setting to set the viewer to display fit to width when the pdf file opens?
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
ContentPage
xmlns
=
"http://xamarin.com/schemas/2014/forms"
xmlns:telerikPdf
=
"clr-namespace:Telerik.XamarinForms.PdfViewer;assembly=Telerik.XamarinForms.PdfViewer"
xmlns:telerikCommon
=
"clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
x:Class
=
"TelerikXamarinApp1.Portable.Page1"
>
<
ContentPage.Content
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
telerikPdf:RadPdfViewerToolbar
PdfViewer
=
"{Binding Source={x:Reference pdfViewer}}"
>
<
telerikPdf:ZoomInToolbarItem
/>
<
telerikPdf:ZoomOutToolbarItem
/>
<
telerikPdf:NavigateToNextPageToolbarItem
/>
<
telerikPdf:NavigateToPreviousPageToolbarItem
/>
<
telerikPdf:NavigateToPageToolbarItem
/>
<
telerikPdf:FitToWidthToolbarItem
/>
<!--<telerikPdf:ToggleLayoutModeToolbarItem/>-->
</
telerikPdf:RadPdfViewerToolbar
>
<
telerikPdf:RadPdfViewer
x:Name
=
"pdfViewer"
Grid.Row
=
"1"
FitToWidthCommand
=
""
/>
</
Grid
>
<!--<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
telerikCommon:RadUniformGrid
>
<
Button
Text
=
"Zoom In"
Command
=
"{Binding Source={x:Reference pdfViewer}, Path=ZoomInCommand}"
/>
<
Button
Text
=
"Zoom Out"
Command
=
"{Binding Source={x:Reference pdfViewer}, Path=ZoomOutCommand}"
/>
<
Button
Text
=
"Fit To Width"
Command
=
"{Binding Source={x:Reference pdfViewer}, Path=FitToWidthCommand}"
/>
<
Button
Text
=
"Previous Page"
Command
=
"{Binding Source={x:Reference pdfViewer}, Path=NavigateToPreviousPageCommand}"
/>
<
Button
Text
=
"Next Page"
Command
=
"{Binding Source={x:Reference pdfViewer}, Path=NavigateToNextPageCommand}"
/>
</
telerikCommon:RadUniformGrid
>
<
telerikPdf:RadPdfViewer
x:Name
=
"pdfViewer"
Grid.Row
=
"1"
MinZoomLevel
=
"0.3"
MaxZoomLevel
=
"4"
/>
</
Grid
>-->
<!--<
StackLayout
>
<
Label
Text
=
"Invoice Viewer"
VerticalOptions
=
"CenterAndExpand"
HorizontalOptions
=
"CenterAndExpand"
/>
<
telerikPdf:RadPdfViewerToolbar
PdfViewer
=
"{Binding Source={x:Reference pdfViewer}}"
>
<
telerikPdf:NavigateToPreviousPageToolbarItem
/>
<
telerikPdf:NavigateToPageToolbarItem
/>
<
telerikPdf:NavigateToNextPageToolbarItem
/>
<
telerikPdf:ZoomInToolbarItem
/>
<
telerikPdf:ZoomOutToolbarItem
/>
<
telerikPdf:FitToWidthToolbarItem
/>
</
telerikPdf:RadPdfViewerToolbar
>
<
telerikPdf:RadPdfViewer
x:Name
=
"pdfViewer"
Scale
=
"50"
FitToWidthCommand
=
"True"
/>
</
StackLayout
>-->
</
ContentPage.Content
>
</
ContentPage
>
Regards,
Graham
The SDKBrowser set of examples is ALL XAML!! What about all of the developers that do not like/use XAML, like myself? Sometimes it is not easy to convert a XAML example to the equivalent pure C# version. I would like the SDKBrowser to include BOTH the current XAML examples AND pure C# versions of the same thing.
Why do I not like XAML, you may ask?
Hi, Can you tell me how to change the color on a SegmentedControl please? Attached is my implementation and you can see the white border lines. I'd like control of the color so I can have it blend in better.
Thank you,
Brian