# OdfStrokeDash

An XML-backed named dash definition shared by referencing shapes.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`15caddadea70` with working tree changes

**Source**

[OdfStrokeDash.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Styles/OdfStrokeDash.cs#L9)

**Modifiers**

sealed

An XML-backed named dash definition shared by referencing shapes.

## Inheritance

- object
- OdfStrokeDash

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Method [OdfStyleRepository.CreateStrokeDash](/api/open-document/officeimo-opendocument-odfstylerepository/#method-createstrokedash-string-officeimo-opendocument-odfstrokedashpattern)
- Method [OdfStyleRepository.FindStrokeDash](/api/open-document/officeimo-opendocument-odfstylerepository/#method-findstrokedash-string)
- Property [OdfStyleRepository.StrokeDashes](/api/open-document/officeimo-opendocument-odfstylerepository/#property-strokedashes)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Name { get; }` [#](#property-name)

[OdfStrokeDash.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Styles/OdfStrokeDash.cs#L9)

Name used by [OdfShape.StrokeDashName](/api/open-document/officeimo-opendocument-odfshape/).

`public OdfStrokeDashPattern Pattern { get; set; }` [#](#property-pattern)

[OdfStrokeDash.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Styles/OdfStrokeDash.cs#L15)

Reads or atomically replaces the supported pattern while retaining other definition metadata.

<!-- PowerForge markdown artifact sha256:1621CE15B2AFFA519A0A017395C947B8BF3CB12228FB1DD1D5F515661E9958C0 -->
