ODF .NET Class Library
Show/Hide TOC

# Option Class

Defines a list item for a listbox control.

## Definition

Namespace: Independentsoft.Office.Odf.Forms
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class Option : IContentElement

VB

    Public Class Option
    	Implements IContentElement

Inheritance
  Object Option

Implements
  IContentElement

## Constructors

Option | Initializes a new instance of the Option class.

## Properties

IsCurrentSelected | Specifies the state of a radio button or option element.
IsSelected | Specifies the default state of a radio button or option. A control initializes to the default state specified by this attribute.
Label | Specifies the text for a control.
Value | Specifies the default value of an input control.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements | Returns all content elements.
GetHashCode | (Inherited from Object)
GetParent | Returns the parent element.
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current Option object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Forms Namespace