# VisioUserCell

Represents a row in a Visio ShapeSheet User section.

Class 

`OfficeIMO.Visio`

**Namespace**

`OfficeIMO.Visio`

**Assembly**

`OfficeIMO.Visio`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[VisioUserCell.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioUserCell.cs#L77)

**Modifiers**

sealed

Represents a row in a Visio ShapeSheet User section.

## Inheritance

- object
- VisioUserCell

## 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 [VisioShape.FindUserCell](/api/visio/officeimo-visio-visioshape/#method-findusercell-string)
- Method [VisioShape.SetUserCell](/api/visio/officeimo-visio-visioshape/#method-setusercell-string-string-string-string-string)
- Property [VisioShape.UserCells](/api/visio/officeimo-visio-visioshape/#property-usercells)

Filter members 

Show inherited

## Constructors

`public VisioUserCell(string name, string? value = null)` [#](#constructor-ctor-string-string)

[VisioUserCell.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioUserCell.cs#L77)

Initializes a new user-defined cell row.

Parameters

**name string required**

Row name.

**value string? = null optional**

Value cell contents.

## 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)

[VisioUserCell.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioUserCell.cs#L27)

Row name.

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

[VisioUserCell.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioUserCell.cs#L33)

Value cell contents. An explicit assignment replaces an imported native null condition, even when unchanged.

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

[VisioUserCell.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioUserCell.cs#L40)

Optional unit for the Value cell.

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

[VisioUserCell.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioUserCell.cs#L46)

Optional ShapeSheet formula for the Value cell. Changing it clears the preserved producer error.

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

[VisioUserCell.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioUserCell.cs#L54)

Optional prompt cell contents. An explicit assignment replaces an imported native null condition, even when unchanged.

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

[VisioUserCell.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioUserCell.cs#L71)

Optional ShapeSheet formula for the Prompt cell. Changing it clears the preserved producer error.

<!-- PowerForge markdown artifact sha256:C4C480021161B8813DD3BBAAE7B9960037F20B90EA053907339F8832E834B3E7 -->
