menu

UWP

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

    Show / Hide Table of Contents

    Class Pen

    Inheritance
    System.Object
    Pen
    Namespace: Syncfusion.UI.Xaml.Utility
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public class Pen : Object

    Constructors

    Pen()

    Declaration
    public Pen()

    Pen(Brush, Double)

    Declaration
    public Pen(Brush brush, double thickness)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Media.Brush brush
    System.Double thickness

    Pen(Brush, Double, BorderStyle)

    Declaration
    public Pen(Brush brush, double thickness, BorderStyle style)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Media.Brush brush
    System.Double thickness
    BorderStyle style

    Pen(Brush, Double, BorderStyle, DoubleCollection)

    Declaration
    public Pen(Brush brush, double thickness, BorderStyle style, DoubleCollection dashArray)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Media.Brush brush
    System.Double thickness
    BorderStyle style
    Windows.UI.Xaml.Media.DoubleCollection dashArray

    Properties

    Brush

    Declaration
    public Brush Brush { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.Brush

    DashArray

    Declaration
    public DoubleCollection DashArray { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.DoubleCollection

    Style

    Declaration
    public BorderStyle Style { get; set; }
    Property Value
    Type
    BorderStyle

    Thickness

    Declaration
    public double Thickness { get; set; }
    Property Value
    Type
    System.Double

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type
    System.Int32

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved