Hi,
I am trying to create a toolbar item and if I add an icon it crashes.
Can someone guide me on this?. If possible I would like to position
this on the left and application logo on right. Is there any sample or
documentation on this?
<ContentPage.ToolbarItems>
<ToolbarItem Activated="OnToolbarButtonClick" Text="Open SideDrawer" Icon="hamburgerbuttonicon.png" >
<ToolbarItem.Icon>
<OnPlatform x:TypeArguments="FileImageSource"
iOS="hamburgerButtonIcon.png"
Android="hamburgerbuttonicon.png"
WinPhone="Assets/hamburgerButtonIcon.png" />
</ToolbarItem.Icon>
</ToolbarItem>
</ContentPage.ToolbarItems>
Thanks,
Prava
Hi,
I am trying to use a radial gauge in Telerik for Xamarin as a radial progress bar using XAML.
But it is aligned to the top left corner of the total space occupied by the element.
Why is it so?
I have some pages with settings per page in a master details menu configuration. I am hiding /showing this settings and all works fine. But now I want to put the settings in a sidedrawer for a nice effect.
Now I have embedded the page in the main content and the settings in the drawer content . But when I do that some (FreshEssentials) controls start behaving really weird.(fe: is the namespace xmlns:fe="clr-namespace:FreshEssentials;assembly=FreshEssentials")
1. I have a listview with a fe:ListViewItemTappedAttached.Command to detect when an item is tapped. This works fine initially. But when I navigate to an other page and come back its command is suddenly called 3 times. When I navigate back and forth again it is called 5 times? Without Sidedrawer it worked fine?
2. I am using the fe:BindablePicker and when it is embedded in a sidedrawer the selecteditem value is set to null when I navigate to the page? This does not happen when it is not embedded within the sidedrawer.
The sideviewer control is really nice but these weird side effects make it useless to me :(
Apple Calendar gives you a month name in the day cell for the first of the Month. Is there any easy way to achieve the same with the Telerik iOS Calendar.
Please see attached example of apple calendar.
Thanks-
Lala
Hello,
I am getting following error when try to create "Archive" in release mode. It works fine in Debug mode. In Linker tab, i have selected "Sdk Assembly Only" option. If I choose "Sdk and User Assemblies" then it builds but getting unexpected error after the deployment.
Could not AOT the assembly: SkiaSharp.dll
Thanks,
How i can add a SwipeBackgroundView in this custom cell in Listview Renderer IOS and Android?
public class ImageWithTextListViewCell : TKListViewCell
{
public UILabel Label;
public ImageWithTextListViewCell(IntPtr ptr) : base(ptr)
{
this.ContentView.BackgroundColor = new UIColor (0.91f, 0.91f, 0.91f, 1.0f);
this.TextLabel.BackgroundColor = new UIColor (0.91f, 0.91f, 0.91f, 1.0f);
this.TextLabel.Lines = 0;
this.TextLabel.LineBreakMode = UILineBreakMode.WordWrap;
this.TextLabel.TextAlignment = UITextAlignment.Center;
this.TextLabel.Font = UIFont.FromName ("Optima-Regular", 16);
this.TextLabel.Layer.CornerRadius = 3;
this.TextLabel.Layer.MasksToBounds = true;
this.Label = new UILabel ();
this.Label.Text = "TEXT";
this.AddSubview (Label);
}
public override void LayoutSubviews ()
{
base.LayoutSubviews ();
this.Label.Frame = new CGRect (20, 20, 50, 50);
this.ImageView.Frame = new CGRect (15, 0, 120, 150);
this.TextLabel.Frame = new CGRect (0, this.ImageView.Frame.Size.Height, this.Frame.Size.Width, 60);
}
}
In Xamarni.Forms is it possible to have a MasterDetail page setup, where the child page has a Telerik SlideDrawer on it? (e.g. LHS nav is supplied by Xamarin.Forms MasterDetail page, and RHS slider of that page is supplied by Telerik SlideDrawer? (my use case requires multiple sliders on the screen)
There's a lot of use cases where people need multiple sliders to organise large numbers of features on a small screen. Ideally I'd be able to have two or more sliders, like how these clever people have done it: https://youtu.be/KJpP-iby4NE
I want to do exactly the same attached calendar. Any example?
Hi,
recently, i detected some strange behavior on the swiping-feature of the telerik list. I have definded a list im Xaml like the following one:
<
telerikDataControls:RadListView
IsItemSwipeEnabled
=
"True"
SwipeThreshold
=
"300"
SwipeOffset
=
"300, 0, 300, 0"
ItemSwipeCompleted
=
"OnItemSwipeCompleted"
>
....
</
telerikDataControls:RadListView
>
I now discovered, that the SwipeOffset seems to be ignored in UWP and Android, as I am able to swipe the ViewCell-Content to the left (or right) without stopping at the defined offset. As i defined some buttons in as swipe background (one button left, one button right), i am able to see both buttons at the same time as the swipe does not stop.I intended to either see the left button by swiping right or see the right button by swiping left - but I did not to expect seeing both buttons as there is no swipe stop. In iOS all seems to work fine, as the swipe stops at the above defined thickness (SwipeOffset)
Another strange thing, I discovered is, that the ItemSwipeCompleted event is always triggered - regardless of which value is set in SwipeThreshold. Again - this issue does only evolve in Android / UWP -> in iOS all seems fine :)
So far I use a workaround for "using" the SwipeThreshold
public
void
OnItemSwiping(
object
sender, ItemSwipingEventArgs e)
{
var list = sender
as
Telerik.XamarinForms.DataControls.RadListView;
var threshold = list.SwipeThreshold;
if
(Math.Abs(e.Offset) < threshold
//Workaround, to not accept swiping, when it does not meet the Threshold
{
list.EndItemSwipe();
return
;
};
}
Is there anything, we I do about the both issues? As I found a workaround for the SwipeThreshold, I am especially interested in a solution for "stopp" swiping at the SwipeOffset.
Again thank you very much in advance!
Best regards,
Ivo
Hello,
We are trying to set the Chart.PanOffset X value to -23356, but when debugging, we are reading -19475.
Chart.BeginUpdate();
Chart.Zoom = new RadSize(zoomX, zoomY);
Chart.PanOffset = new RadPoint(-panX, -panY);
Chart.EndUpdate();
Does anyone know if the PanOffset has a min/max value?
Thanks!