OlkControl.Format OlkControl.Format OlkControl.Format Property

Definition

Returns or sets an Integer (int in C#) value that specifies how a value is to be displayed in the control. Read/write.

public:
 property int Format { int get(); void set(int value); };
public int Format { get; set; }
Public Property Format As Integer

Property Value

Remarks

The Format property can be a constant in an enumeration that describes how to display a value. For example, you can specify Format as the constant olFormatCurrencyDecimal that is defined in the OlFormatCurrency enumeration to display a currency value in an OlkTextBox control.

The Format property is specific to the property in the Outlook Object Model that the control is bound to. The latter is indicated by ItemProperty. If the control is not bound to any property, then accessing Format will return an error.

Applies to