menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StripLine - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StripLine

    Interactive code for Strip Line

    Inheritance
    System.Object
    StripLine
    Namespace: Syncfusion.Windows.Controls.Gantt
    Assembly: Syncfusion.Gantt.Wpf.dll
    Syntax
    public class StripLine : Control

    Constructors

    StripLine()

    Initializes a new instance of the StripLine class.

    Declaration
    public StripLine()

    Fields

    ContentProperty

    The DependencyProperty for Content property.

    Declaration
    public static readonly DependencyProperty ContentProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ContentTemplateProperty

    The DependencyProperty for ContentTemplate property.

    Declaration
    public static readonly DependencyProperty ContentTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    TypeProperty

    The DependencyProperty for Type property.

    Declaration
    public static readonly DependencyProperty TypeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    Content

    Gets or sets the content.

    Declaration
    public object Content { get; set; }
    Property Value
    Type Description
    System.Object

    The content.

    ContentTemplate

    Gets or sets the content template.

    Declaration
    public DataTemplate ContentTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The content template.

    EndDate

    Gets or sets the end date.

    Declaration
    public DateTime EndDate { get; }
    Property Value
    Type Description
    System.DateTime

    The end date.

    StartDate

    Gets or sets the start date.

    Declaration
    public DateTime StartDate { get; }
    Property Value
    Type Description
    System.DateTime

    The start date.

    Type

    Gets or sets the type.

    Declaration
    public StriplineType Type { get; }
    Property Value
    Type Description
    StriplineType

    The type.

    Methods

    ArrangeOverride(Size)

    Called to arrange and size the content of a System.Windows.Controls.Control object.

    Declaration
    protected override Size ArrangeOverride(Size arrangeBounds)
    Parameters
    Type Name Description
    System.Windows.Size arrangeBounds

    The computed size that is used to arrange the content.

    Returns
    Type Description
    System.Windows.Size

    The size of the control.

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

    Declaration
    public override void OnApplyTemplate()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved