Hello,
I looked https://www.telerik.com/support/whats-new/xamarin-ui/release-history,
latest version ---> UI for Xamarin R2 2019 (version 2019.2.708.360)
But on visual studio nuget manager shows latest stable (version 2019.1.318.1)
How can i fix this?
Thanks
I'm facing another issue with RadListView and expander, if my rows are of uneven height, then upon scrolling it resizes each cell randomly. It might be due to the Recycle Cashing Strategy. The cells are being reused and they reuse the cell created for previously visible rows and takes their size regardless of the actual content of the cell. It is similar to the issue we face in Xamarin.iOS while using "CellForReuse".
For example, if my first cell has 10 lines of data, and there are 5 cells visible on screen at a time, then scrolling to the next set of cells will result in reuse of previous cells and 6th cell will take same height as first cell even though there is only single line data in it.
Please suggest how to overcome this bug, as the list row height should be consistent according to the content in each cell.
Thanks & Regards,
Nidhi Sood
I have a sample Xamarin Forms app (source located on GitHub here) where I need the dialog that pops when you click the button to center itself on the screen. Instead it is centering in its parent.
I read you can center a Popup by attaching it to the page level. And that works fine. But the BindingContext for the popup can't be set in this way.
Our app uses a ContentPage that is comprised of a bunch of ContentViews. And the ContentViews are the things that define the various popup dialogs (not the ContentPage). Furthermore, the BindingContext is set at the ContentView level. You can see an example of this in the code example I provided in the repo.
The repo defines a MainPage.xaml which hosts a ParentView which hosts a PopupView. It should be easy to follow the structure.
How can this sample be changed to show the dialog in the center of the screen?
How do I get rid of the vertical dots in the header cell (see attached image).
Here is my XAML for the grid...
<telerikGrid:RadDataGrid ItemsSource="{Binding Tags}" UserFilterMode="Disabled" UserGroupMode="Disabled" UserEditMode="None" UserSortMode="None" AutoGenerateColumns="False"> <telerikGrid:RadDataGrid.Columns> <telerikGrid:DataGridTextColumn HeaderText="Tag" PropertyName="DisplayValue" CanUserFilter="False" /> </telerikGrid:RadDataGrid.Columns>
Can someone post a code example that shows a DataGrid with the first column being a RadioButton control, and clicking the radio button on a row...
a) invokes a Command that the radio button was clicked
b) all other row's radio buttons become unchecked (so only one row's radio button is checked at any given time)
I am using FreshMVVM and am having trouble getting a simple popup example to work.
For my View I have...
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?> <
ContentPage
xmlns
=
"http://xamarin.com/schemas/2014/forms"
xmlns:telerikPrimitives
=
"clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
xmlns:x
=
"http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local
=
"clr-namespace:SampleApp"
x:Class
=
"SampleApp.MainPage"
>
<
StackLayout
> <
telerikPrimitives:RadPopup.Popup
> <
telerikPrimitives:RadPopup
IsOpen
=
"{Binding Dialog1Open}"
> <
Label
Text
=
"Dialog 1"
/> </
telerikPrimitives:RadPopup
> </
telerikPrimitives:RadPopup.Popup
>
<
telerikPrimitives:RadPopup.Popup
> <
telerikPrimitives:RadPopup
IsOpen
=
"{Binding Dialog2Open}"
> <
Label
Text
=
"Dialog 2"
/> </
telerikPrimitives:RadPopup
> </
telerikPrimitives:RadPopup.Popup
>
<
Button
Text
=
"Open Dialog 1"
Command
=
"{Binding OpenDialog1}"
/> <
Button
Text
=
"Open Dialog 2"
Command
=
"{Binding OpenDialog2}"
/>
</
StackLayout
>
</
ContentPage
>
and the ViewModel I have...
public class MainPageModel : FreshBasePageModel {
public bool Dialog1Open { get; set; }
public bool Dialog2Open { get; set; }
public ICommand OpenDialog1
{
get {
return new Command(() => { Dialog1Open = true; });
}
}
public ICommand OpenDialog2
{
get {
return new Command(() => { Dialog2Open = true; });
}
}
}
How would this code be changed to make my example work?
The complete source for my example can be found at...
https://github.com/JohnLivermore/SampleXamarinApp/tree/telerikpopupexample
I wasn't able to find in the docs if Xamarin Forms 4.x was yet supported. Is there a place we can go to find out the latest Forms version Telerik supports?
ian