Пример #1
0
 /// <summary>
 /// Set the color values for material
 /// </summary>
 /// <param name="rangeSlider"></param>
 private void SetMaterialValues(Syncfusion.SfRangeSlider.XForms.SfRangeSlider rangeSlider)
 {
     if (Device.RuntimePlatform != Device.UWP)
     {
         rangeSlider.LabelColor = Color.FromRgba(0, 0, 0, 200);
     }
 }
Пример #2
0
 /// <summary>
 /// Set the color values for material
 /// </summary>
 /// <param name="rangeSlider"></param>
 private void SetMaterialValues(Syncfusion.SfRangeSlider.XForms.SfRangeSlider rangeSlider)
 {
     if (Device.RuntimePlatform != Device.UWP)
     {
         rangeSlider.LabelColor        = Color.FromRgba(0, 0, 0, 200);
         rangeSlider.TickPlacement     = TickPlacement.Inline;
         positionPicker2.SelectedIndex = 2;
     }
 }
 /// <summary>
 /// Set the color values for material
 /// </summary>
 /// <param name="rangeSlider"></param>
 private void SetMaterialValues(Syncfusion.SfRangeSlider.XForms.SfRangeSlider rangeSlider, bool isTick = false)
 {
     if (Device.RuntimePlatform != Device.UWP)
     {
         rangeSlider.LabelColor = Color.FromRgba(0, 0, 0, 200);
         if (isTick)
         {
             rangeSlider.TickPlacement = TickPlacement.Inline;
         }
     }
 }