# RtfStyleKeyCode

Shortcut key metadata stored in an RTF stylesheet {\*\keycode ...} group.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfStyleKeyCode.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfStyleKeyCode.cs#L8)

**Implements**

`IRtfCloneable`

**Modifiers**

sealed

Shortcut key metadata stored in an RTF stylesheet {\*\keycode ...} group.

## Inheritance

- object
- RtfStyleKeyCode

## Usage

Explore 1 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 1

- Property [RtfStyle.KeyCode](/api/rtf/officeimo-rtf-rtfstyle/#property-keycode)

Filter members 

Show inherited

## Constructors

`public RtfStyleKeyCode()` [#](#constructor-ctor)

## 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 bool Shift { get; set; }` [#](#property-shift)

[RtfStyleKeyCode.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfStyleKeyCode.cs#L8)

Whether the shortcut includes the SHIFT modifier.

`public bool Control { get; set; }` [#](#property-control)

[RtfStyleKeyCode.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfStyleKeyCode.cs#L11)

Whether the shortcut includes the CTRL modifier.

`public bool Alt { get; set; }` [#](#property-alt)

[RtfStyleKeyCode.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfStyleKeyCode.cs#L14)

Whether the shortcut includes the ALT modifier.

`public int? FunctionKey { get; set; }` [#](#property-functionkey)

[RtfStyleKeyCode.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfStyleKeyCode.cs#L17)

Optional function-key number from \fn.

`public string? Key { get; set; }` [#](#property-key)

[RtfStyleKeyCode.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfStyleKeyCode.cs#L20)

Optional literal key text.

<!-- PowerForge markdown artifact sha256:4502735ACD47374AC42F710C53FBCCB85F3A9DAEADF9491BF65EC7D39631F31D -->
