Telerik Forums
UI for Xamarin Forum
3 answers
74 views

Hello,

The full gencod is not displayed when I set ShowText to true. 

xaml

<barcode:RadBarcode
        x:Name="barcode"
        Value=""
        WidthRequest="150"
        HorizontalOptions="Center"
        Grid.Row="2">
 
                <barcode:RadBarcode.Symbology>
                           <barcode:EAN13 AutoChecksum="False" SizingMode="Stretch" ShowText="True" />
                  </barcode:RadBarcode.Symbology>
        </barcode:RadBarcode>

 

xaml.cs 

barcode.Value = "7613036213097";

 

 

 

And rendering in attached file.

 

Didi
Telerik team
 answered on 25 Jun 2020
2 answers
95 views

I am using Xamarin RadCalendar and have a custom class, named Activity, implementing the IAppointment interface, having some additional properties. How can I customize AddAppointmentView/EditAppointmentView to add/edit Activities?

N.B. I found a similar article for WinForms' RadScheduler in the following links:
https://www.telerik.com/blogs/how-to-create-custom-appointments-and-custom-appointment-dialog-in-telerik-scheduleview
https://docs.telerik.com/devtools/winforms/controls/scheduler/appointments-and-dialogs/custom-appointment-element

 
Mehdi
Top achievements
Rank 1
Veteran
 answered on 22 Jun 2020
4 answers
1.3K+ views

I've been attempting to figure out if I can use a KeyPress event with the RadEntry on Xamarin.Forms.

I realize that a(n) KeyPress event is most likely platform specific. But I can't seem to determine if there is a way to detect "Tab" being sent (\t). I have a scan engine providing data the RadEntry and I would like to detect a scan being present utilizing that tab event.

I can do this in Xamarin.Android using keypress events on EditText views. However, OnTextChanged event doesn't seem to have the (\t) Tab input.

Yana
Telerik team
 answered on 19 Jun 2020
3 answers
182 views
I've noticed that when creating a popup directly from code, you don't need to set PlacementTarget. Somehow the code internally solve this and use the entire window as placement.

I'm wondering if I can instantiate several new dialogs on demand or do I have to reuse the same instance everytime? Example: displaying alerts everytime I need.

My concerns are about the lifecycle, whether the garbage collector destroy them after closing or the instances keep living forever inside the page or somewhere.
Yana
Telerik team
 answered on 16 Jun 2020
4 answers
103 views
Supportable CalendarViewModes and CalendarSelectionModes have been described for each mobile device platform, and I have implemented them in my application. However, another necessary information is to know which selection modes are compatible to which view modes. For example, I get error when trying to change my calendars view mode to MultiDay when its selection mode is set to Range. I couldn't find any article regarding compatible ViewMode-SelectionMode matrix. Could anyone help please? 
 
Didi
Telerik team
 answered on 16 Jun 2020
4 answers
221 views

I've created a(n) implementation of Bluetooth printer discovery for zebra printers. The listview I used to display the "DiscoveredPrinters" is a RadListView. 

I'm experiencing a nice array of issues relating to this endeavor, and now I'm resorting to this post.

Current Issues:

-#1 RadListView Items only display when screen is rotated Landscape

-#2 RadListView doesn't update when underlying ObservableCollection is updated (May be related to #1).

 

Code can be found here for reproduction, You may have to remove some non-public dependencies in order to run it.

 

Currently the Files related to this issue:

- MainPage

- MainPageViewModel

-Views/Settings/PrintersView.xaml(.cs)

 

Currently I am only using the single page (MainPage) and Single ViewModel (MainPageViewModel).

I then swap out the ContentView in the RadSlideDrawer in the MainPage to navigate through views.

 

 

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 08 Jun 2020
7 answers
356 views
Hi i have problem creating multi axes chart for iOS.

Im trying to do something like the image attached and i read a lot of documentation but all of that is using native controller for iOS.
I have done creating this on android using customrenderer.

Is there any way to show the bar series YAXIS to right side of the chart? 
Here's how my approach using custom renderer on iOS.

<telerikChart:RadCartesianChart
              x:Name="multiAxesGraph"
              Grid.Row="1"
              BackgroundColor="{OnPlatform iOS=Transparent}"
              HorizontalOptions="FillAndExpand"
              Zoom="1,1">
              <telerikChart:RadCartesianChart.HorizontalAxis>
                  <telerikChart:DateTimeContinuousAxis
                      LabelFitMode="Rotate"
                      LabelFontSize="9"
                      LabelFormat="MM/d"
                      LabelTextColor="White"
                      LineColor="White"
                      MajorStep="7"
                      MajorStepUnit="Day"
                      MajorTickThickness="5"
                      PlotMode="OnTicks" />
              </telerikChart:RadCartesianChart.HorizontalAxis>
              <telerikChart:RadCartesianChart.VerticalAxis>
                  <telerikChart:NumericalAxis
                      LabelFontSize="9"
                      LabelTextColor="White"
                      LineColor="White"
                      MajorStep="5"
                      Maximum="{Binding MaxWeight, Mode=TwoWay}"
                      Minimum="{Binding MinWeight, Mode=TwoWay}" />
              </telerikChart:RadCartesianChart.VerticalAxis>
              <telerikChart:RadCartesianChart.Series>
 
                  <telerikChart:LineSeries
                      CategoryBinding="Category"
                      DisplayName="Weight"
                      ItemsSource="{Binding WeightGraph, Mode=TwoWay}"
                      ValueBinding="Value" />
 
                  <telerikChart:BarSeries
                      CategoryBinding="Category"
                      DisplayName="Water"
                      ItemsSource="{Binding WaterGraph, Mode=TwoWay}"
                      ValueBinding="Value" />
 
              </telerikChart:RadCartesianChart.Series>
              <telerikChart:RadCartesianChart.Palette>
                  <telerikChart:ChartPalette>
                      <telerikChart:ChartPalette.Entries>
                          <telerikChart:PaletteEntry FillColor="White" StrokeColor="White" />
                          <telerikChart:PaletteEntry FillColor="#8cc63f" StrokeColor="#8cc63f" />
                      </telerikChart:ChartPalette.Entries>
                  </telerikChart:ChartPalette>
              </telerikChart:RadCartesianChart.Palette>
              <telerikChart:RadCartesianChart.ChartBehaviors>
                  <telerikChart:ChartPanAndZoomBehavior
                      HandleDoubleTap="True"
                      PanMode="Horizontal"
                      ZoomMode="Horizontal" />
              </telerikChart:RadCartesianChart.ChartBehaviors>
          </telerikChart:RadCartesianChart>




protected override void OnElementChanged(ElementChangedEventArgs<RadCartesianChart> e)
{
    base.OnElementChanged(e);
    var series = Control.Series.ToArray();
 
    if (series.Length == 2)
    {
        TKChartNumericAxis nativeAxis = series[1].YAxis as TKChartNumericAxis;
        nativeAxis.Position = TKChartAxisPosition.Right;
        nativeAxis.Style.LabelStyle.TextColor = UIColor.Green;
        nativeAxis.Style.LineHidden = false;
        nativeAxis.Style.LineStroke = new TKStroke(UIColor.White);
        series[1].YAxis = nativeAxis;
    }
 
}

I'm stuck here for 2 days creating custom renderer for iOS but none of them succeed.

Thanks
Yana
Telerik team
 answered on 02 Jun 2020
1 answer
81 views

Good morning people,

I was using the properties:

_listPickerB Bairro.SelectorSettings.AcceptButtonText = "OK";
_listPickerBairros.SelectorSettings.CancelButtonText  = "Back";
_listPickerB Bairro.SelectorSettings.HeaderLabelText = "Bairros";

 

However in the update these properties disappeared and I didn't find them again.

How can I now use these properties?

 

Thank you

Yana
Telerik team
 answered on 01 Jun 2020
4 answers
733 views

I have a number of items in my template I am trying to bind custom objects to. That part works fine for the same control in other forms etc but the property change code it never fired

 

 

 public static readonly BindableProperty RowItemProperty = BindableProperty.Create(
             nameof(RowItem),
             typeof(CSFormSwitchLine),
             typeof(CSSwitch),
             defaultValue: null,
             defaultBindingMode: BindingMode.TwoWay,
            propertyChanged: RowItemUpdated
        );

        public CSFormSwitchLine RowItem { get; set; }

        private static void RowItemUpdated(BindableObject bindable, object oldValue, object newValue)
        {

 

 

Simon
Top achievements
Rank 1
Veteran
 answered on 29 May 2020
1 answer
68 views

I am using the RadAutoCompleteView in my Xamarin Forms application running on both Android and iOS and have noticed a difference in how a suggestion is selected on the 2 platforms. On Android, a single tap gesture on a suggestion populates the control with the suggestion, however on iOS a tap and hold gesture is required to achieve the same outcome.

Is this difference expected or so I need to set some additional property for iOS?

Didi
Telerik team
 answered on 26 May 2020
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?