Note that the issue I'm experiencing only happens on iOS. On UWP and Android, everything works as expected.
Xamarin Forms app with a RadListView control on the page. The control itself consumes the entire page, as expected. The issue is that the rows in the list view have varying heights (or should). The rows render just fine on UWP and Android with varying heights that size correctly to the contents. However, on iOS, all rows render as a constant height that seems like it's "one line of medium text" high.
I've tried adding a LayoutDefinition with the ListViewLinearLayout set to 150, and confirmed that a fixed height adjustment works...and that would be fine if I needed a constant height to the rows. However, I need an "automatically resizes to fit the content" height adjustment.
Again, it's working perfectly on UWP and Android. Only issue is on iOS.
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.
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
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.
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.
<
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;
}
}
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
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)
{