Hello,
I'm using a SegmentedControl in a Content View :
<
telerikInput:RadSegmentedControl
Grid.Row
=
"1"
HeightRequest
=
"50"
HorizontalOptions
=
"Center"
VerticalOptions
=
"Center"
ItemsSource
=
"{Binding LargeImages}"
SelectedIndex
=
"{Binding SelectedIndex, Mode=TwoWay}"
AutomationId
=
"ImagesSegmentedControl"
>
</
telerikInput:RadSegmentedControl
>
On my ViewModel : I initialize the LargeImages collections as in the QSF samples.
this
.LargeImages =
new
ObservableCollection<ImageSource>()
{
CreateImage(
"zero2.png"
),
CreateImage(
"on.png"
),
CreateImage(
"pendule.png"
)
};
private
static
ImageSource CreateImage(
string
name)
{
if
(Device.RuntimePlatform == Device.UWP)
{
name =
string
.Format(
"Assets/{0}"
, name);
}
return
ImageSource.FromFile(name);
}
When displaying on Android, all the images keep there original scale.
On Ios, all the images are "distorted".
I make screenshot on a Android example and an Ios example. You can see that on Ios, it's not good.
I there template options that i can use to make it work ?
When I upgrade from R3 2018 to R1 2019, ListViews with <telerikDataControls:RadListView.GroupDescriptors> will not render any content. Removing <telerikDataControls:RadListView.GroupDescriptors> results in the ListView rendering, but without any GroupHeaders.
Here's the full ListView that fails. To make it work, remove the GroupDescriptors tag.
<
telerikDataControls:RadListView
x:Name
=
"list"
GroupHeaderTemplate
=
"{StaticResource ListViewGroupHeaderTemplate}"
IsVisible
=
"{Binding IsLoadingHotlist, Converter={StaticResource NegateBooleanConverter}}"
ItemsSource
=
"{Binding ItemsHotlist}"
BackgroundColor
=
"White"
IsPullToRefreshActive
=
"{Binding IsBusyHotlist}"
IsPullToRefreshEnabled
=
"True"
SelectionMode
=
"Single"
>
<!-- GROUP BY -->
<
telerikDataControls:RadListView.GroupDescriptors
>
<!-- TRICK I use a HotListGroupHeaderConverter to change the Date here to a nice pretty print -->
<
telerikListView:PropertyGroupDescriptor
PropertyName
=
"GroupBySort"
SortOrder
=
"Ascending"
/>
</
telerikDataControls:RadListView.GroupDescriptors
>
<!-- COMMANDS -->
<!-- COMMANDS -->
<!-- COMMANDS -->
<
telerikDataControls:RadListView.Commands
>
<
commands:ListViewUserCommand
Id
=
"PullToRefreshRequested"
Command
=
"{Binding RefreshHotlistCommand}"
/>
<
commands:ListViewUserCommand
Id
=
"ItemTap"
Command
=
"{Binding HotlistTapCommand}"
/>
</
telerikDataControls:RadListView.Commands
>
<!-- TEMPLATE CELLS -->
<!-- TEMPLATE CELLS -->
<!-- TEMPLATE CELLS -->
<
telerikDataControls:RadListView.ItemTemplateSelector
>
<
vm:HotlistItemSelector
AppointmentTemplate
=
"{StaticResource AppointmentCellTemplate}"
TaskTemplate
=
"{StaticResource TaskCellTemplate}"
ErrorTemplate
=
"{StaticResource ErrorCellTemplate}"
/>
</
telerikDataControls:RadListView.ItemTemplateSelector
>
</
telerikDataControls:RadListView
>
Hi Team,
I am using TKCalendar for my iOS App and am using custom data cell as instructed in documents.
I need to disable user action on particular dates .
how could it be achieved?
Thanks,
Avinash
Hi,
I'm just starting out with xamarin.forms datagrid and I was looking for the paging method that I use with Asp.Net MVC.
I can only find LoadOnDemand. Is this the recommended method to retrieve more data in a grid?
Regards,
Graham
We are using Telerik purely for the RadSideDrawer, and have referenced Telerik.UI.for.xamarin.lite.
According to the documentation, should not need any SkiSharp reference for this as its only the 'lite' version.
Yet when build with the release version with the Android Linking set to "SDK assemblies only" we get the following build error:
SeverityCodeDescriptionProjectFileLineSuppression State
ErrorThe "LinkAssemblies" task failed unexpectedly.
Java.Interop.Tools.Diagnostics.XamarinAndroidException: error XA2006: Could not resolve reference to 'Telerik.XamarinForms.SkiaSharp.StrokeKey' (defined in assembly 'Telerik.XamarinForms.PdfViewer, Version=2019.1.131.340, Culture=neutral, PublicKeyToken=null') with scope 'Telerik.XamarinForms.SkiaSharp, Version=2019.1.131.340, Culture=neutral, PublicKeyToken=null'. When the scope is different from the defining assembly, it usually means that the type is forwarded. ---> Mono.Cecil.ResolutionException: Failed to resolve Telerik.XamarinForms.SkiaSharp.StrokeKey
at Mono.Linker.Steps.MarkStep.HandleUnresolvedType(TypeReference reference)
at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
at MonoDroid.Tuner.MonoDroidMarkStep.MarkType(TypeReference reference)
at Mono.Linker.Steps.MarkStep.MarkGenericArguments(IGenericInstance instance)
at Mono.Linker.Steps.MarkStep.GetOriginalType(TypeReference type)
at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
at MonoDroid.Tuner.MonoDroidMarkStep.MarkType(TypeReference reference)
at Mono.Linker.Steps.MarkStep.MarkField(FieldReference reference)
at Mono.Linker.Steps.MarkStep.InitializeFields(TypeDefinition type)
at Mono.Linker.Steps.MarkStep.InitializeType(TypeDefinition type)
at Mono.Linker.Steps.MarkStep.InitializeAssembly(AssemblyDefinition assembly)
at Mono.Linker.Steps.MarkStep.Initialize()
at MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
--- End of inner exception stack trace ---
at Java.Interop.Tools.Diagnostics.Diagnostic.Error(Int32 code, Exception innerException, String message, Object[] args)
at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()PortableClient.Droid
Hi,
not have any properties of Value or Text?
And why the Displayed only Get?
"DisplayedText: Gets the displayed text.(Read-only)"
How can I load data and bind to RadMaskedInput to show data?
Thanks.
I am trying to use a TreeView to show data read from a webservice. However, I have a special requirement. Normally the presence of the ExpandCollapseIndicator is determined by the return value of CanExecute function of the LoadOnDemandCommand. A custom item template would include the ExpandCollapseIndicator and bind its IsLoadOnDemandEnabledProperty to TreeViewDataItem.IsLoadOnDemandEnabled. This works fine if the ability to expand/collapse remains constant. I need the ability to change the value of TreeViewDataItem.IsLoadOnDemandEnabled AFTER the tree node has been initialized. Normally, I would just do OnPropertyChanged(nameof(IsLoadOnDemandEnabled)) but I do not have access to that since TreeViewDataItem is a wrapper around my own data model class. I do not have access to TreeViewDataItem.
So how can I force an update to the ExpandCollapseIndicator AFTER the tree node has been initialized as my CanExecute function of LoadOnDemandCommand will now return a different value?
hi,
In RadListView, ListViewTextCell Text is not vertically center aligned in both ListViewGridLayout and ListViewLinearLayout LayoutDefinition modes. Tested in Android. list is in grid row where height is set to Auto.
<
telerikDataControls:RadListView
x:Name
=
"EventStatusListView"
SelectionMode
=
"Multiple"
Margin
=
"10,0,0,0"
VerticalOptions
=
"Fill"
>
<
telerikDataControls:RadListView.ItemTemplate
>
<
DataTemplate
>
<
telerikListView:ListViewTextCell
Text
=
"{Binding name}"
/>
</
DataTemplate
>
</
telerikDataControls:RadListView.ItemTemplate
>
<
telerikDataControls:RadListView.LayoutDefinition
>
<
telerikListView:ListViewGridLayout
SpanCount
=
"3"
HorizontalItemSpacing
=
"1"
VerticalItemSpacing
=
"1"
/>
</
telerikDataControls:RadListView.LayoutDefinition
>
<
telerikDataControls:RadListView.ItemStyle
>
<
telerikListView:ListViewItemStyle
BackgroundColor
=
"Transparent"
BorderWidth
=
"1"
TextCellTextColor
=
"Green"
BorderLocation
=
"All"
BorderColor
=
"Gray"
/>
</
telerikDataControls:RadListView.ItemStyle
>
<
telerikDataControls:RadListView.SelectedItemStyle
>
<
telerikListView:ListViewItemStyle
TextCellTextColor
=
"White"
BackgroundColor
=
"DarkGreen"
BorderLocation
=
"All"
/>
</
telerikDataControls:RadListView.SelectedItemStyle
>
<
telerikDataControls:RadListView.PressedItemStyle
>
<
telerikListView:ListViewItemStyle
TextCellTextColor
=
"Green"
BorderColor
=
"Gray"
BorderWidth
=
"5"
BorderLocation
=
"All"
/>
</
telerikDataControls:RadListView.PressedItemStyle
>
</
telerikDataControls:RadListView
>
Is there a way to show busy indicator on top of all the pages when data is downloading using RadBusyIndicator. Example: When The User navigates to a different page and the data is still downloading a BusyIndicator is displayed on all the pages indicating download is in progress.
Thanks.