menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DateTimeStripLine - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DateTimeStripLine

    The DateTimeStripLine class can be used to render strip lines using DateTime values. This should be used with DateTimeAxis.

    Inheritance
    System.Object
    ChartStripLine
    DateTimeStripLine
    Inherited Members
    ChartStripLine.FillColor
    ChartStripLine.FillColorProperty
    ChartStripLine.IsPixelWidth
    ChartStripLine.IsPixelWidthProperty
    ChartStripLine.IsSegmented
    ChartStripLine.IsSegmentedProperty
    ChartStripLine.IsVisible
    ChartStripLine.IsVisibleProperty
    ChartStripLine.LabelStyle
    ChartStripLine.LabelStyleProperty
    ChartStripLine.OnBindingContextChanged()
    ChartStripLine.OnParentSet()
    ChartStripLine.RepeatEvery
    ChartStripLine.RepeatEveryProperty
    ChartStripLine.SegmentAxisName
    ChartStripLine.SegmentAxisNameProperty
    ChartStripLine.SegmentEnd
    ChartStripLine.SegmentEndProperty
    ChartStripLine.SegmentStart
    ChartStripLine.SegmentStartProperty
    ChartStripLine.StrokeColor
    ChartStripLine.StrokeColorProperty
    ChartStripLine.StrokeWidth
    ChartStripLine.StrokeWidthProperty
    ChartStripLine.Text
    ChartStripLine.TextProperty
    ChartStripLine.Width
    ChartStripLine.WidthProperty
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class DateTimeStripLine : ChartStripLine, IThemeElement
    Remarks

    DateTimeStripLine requires Start and Width properties to be set to render the Strip line.

    Examples
    DateTimeAxis axis = new DateTimeAxis();
    DateTimeStripLine strip = new DateTimeStripLine();
    strip.Start = new DateTime(2000, 01, 01);
    strip.Width = 2;
    axis.StripLines.Add(strip);

    Constructors

    DateTimeStripLine()

    Declaration
    public DateTimeStripLine()

    Fields

    RepeatEveryTypeProperty

    Gets or sets the date time unit of the value specified in the RepeatEvery property. This is a bindable property.

    Declaration
    public static readonly BindableProperty RepeatEveryTypeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    RepeatUntilProperty

    Gets or sets the axis value that determines till where the strip line has to be repeated in axis. This is a bindable property.

    Declaration
    public static readonly BindableProperty RepeatUntilProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    StartProperty

    Gets or sets the axis value that represents, from where the strip line should start in axis. This is a bindable property.

    Declaration
    public static readonly BindableProperty StartProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    WidthTypeProperty

    Gets or sets the date time unit of the value specified in the Width property. This is a bindable property.

    Declaration
    public static readonly BindableProperty WidthTypeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    RepeatEveryType

    Gets or sets the date time unit of the value specified in the RepeatEvery property. This is a bindable property.

    Declaration
    public DateTimeComponent RepeatEveryType { get; set; }
    Property Value
    Type Description
    DateTimeComponent

    This property takes the DateTimeIntervalType value.

    RepeatUntil

    Gets or sets the axis value that determines till where the strip line has to be repeated in axis. This is a bindable property.

    Declaration
    public Nullable<DateTime> RepeatUntil { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    This property takes System.DateTime as its value.

    Start

    Gets or sets the axis value that represents, from where the strip line should start in axis. This is a bindable property.

    Declaration
    public Nullable<DateTime> Start { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    This property takes System.DateTime as its value.

    WidthType

    Gets or sets the date time unit of the value specified in the Width property. This is a bindable property.

    Declaration
    public DateTimeComponent WidthType { get; set; }
    Property Value
    Type Description
    DateTimeComponent

    This property takes the DateTimeIntervalType value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved