I use LoadonDemand in RadListView. in Event_ListLoadonDemand I call get method which is triggered when user click the load more button at the end of the list. this works fine is Android. But in ios when button is clicked events are concat to the list but list scrolls to the top. This is not the case in android. How to avoid the list scrolling to the top in ios?
<telerikDataControls:RadListView x:Name="EventList"
BackgroundColor="{StaticResource DarkGray}"
ItemsSource="{Binding CalendarEvents,Mode=TwoWay}"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
IsLoadOnDemandEnabled="True"
LoadOnDemandMode="Manual"
IsPullToRefreshEnabled="True"
RefreshRequested="EventList_RefreshRequested"
LoadOnDemand="EventList_LoadOnDemand"
Hi, is it possible navigate between tabs moving left/right with the fingers? like a carousel.
Thank you.
how to apply translation to "load more" text appear when LoadOnDemand Manual at the end of the list view.?
Hi There,
I have implemented a Telerik Xamarin Forms Listview with custom cells. The group headers and cells have text in each that can grow and shrink depending on the amount of text in the record. This works perfectly on android but on IOS all the cells (Headers and Data Rows) are exactly the same height. Xamarin Forms Listview has a property called "HasUnevenRows" which takes care of this issue. Is there such a property in the Telerik Xamarin Forms Listview?
Hello,
Working with xf calendar and have a calendar loaded with appointments defaulting to monthview.
When day is selected, it have it move to dayview using the "SelectionChange" event:
calendar.TrySetViewMode(CalendarViewMode.Day,
true
);
Question is, how do I allow users to navigate BACK to monthview?
Hi,
I want to hide more button and I can not find the way.
Thanks.
I have a subclass of CalendarDayCell on Android and I'm trying to set the text color in an override of UpdateTextColor. The method takes two integers. What do they do? I've tried setting both to my desired color but the text is always black.
i am able to bind data to a data grid using data templates but i am trying to get in a position to start selecting items from the grid, how can i do this using the
RadDataGrid for Xamarin forms:
Xaml :
<dg:RadDataGrid SelectionMode="Single"
Margin="0,20,0,0"
HorizontalOptions="Center"
SelectionUnit="Row" x:Name="grid_Source">
</dg:RadDataGrid>
Code Behind -
List<MetaData> src = new List<MetaData>();
src.Add(new MetaData { Id = "Data", Caption = "Data" });
src.Add(new MetaData { Caption = "Select", Id = "Select" });
src.Add(new MetaData { Caption = "OperatorNo", Id = "OperatorNo" });
src.Add(new MetaData { Caption = "OperatorName", Id = "OperatorName" });
foreach (MetaData columns in src)
{
String propertyName = $"[{columns.Id}].Value";
Telerik.XamarinForms.DataGrid.DataGridTemplateColumn text_Column =
new Telerik.XamarinForms.DataGrid.DataGridTemplateColumn();
text_Column.HeaderText = columns.Caption;
text_Column.Name = propertyName;
text_Column.CellContentTemplate = GetTemplate(propertyName,"Button", columns.Caption);
this.grid_Source.Columns.Add(text_Column);
}
this.grid_Source.SelectionUnit = Telerik.XamarinForms.DataGrid.DataGridSelectionUnit.Row;
this.grid_Source.SelectionStyle = new Telerik.XamarinForms.DataGrid.DataGridBorderStyle
{
BackgroundColor = Color.Orange,
BorderColor = Color.Orange,
BorderThickness = new Thickness(2)
};
this.grid_Source.AutoGenerateColumns = false;
Data Template :
public DataTemplate GetTemplate(String psPropertyName, String ControlType, String ColumnCaption)
{
return new DataTemplate(() =>
{
View oView = null;
Label oLabel = new Label()
{
BackgroundColor = Color.Transparent,
TextColor = Color.Black,
VerticalOptions = LayoutOptions.FillAndExpand,
HorizontalOptions = LayoutOptions.FillAndExpand
};
oLabel.SetBinding(Label.TextProperty, psPropertyName);
oView = oLabel;
return new Xamarin.Forms.StackLayout()
{
Children = {
oView,
},
Margin = new Thickness(0),
Padding = new Thickness(0),
HeightRequest = 50
};
});
}