Show / Hide Table of Contents

Class ActiveXControl

Represents an ActiveX Control.

Inheritance
System.Object
AbstractControl
ActiveXControl
ActiveXCheckBox
ActiveXComboBox
ActiveXCommandButton
ActiveXImage
ActiveXLabel
ActiveXListBox
ActiveXOptionButton
ActiveXScrollBar
ActiveXSpinButton
ActiveXTextBox
ActiveXToggleButton
Implements
IWorksheetDrawingObject
ISheetDrawingObject
IDrawingObject
Inherited Members
AbstractControl.anchoredCell
AbstractControl.AnchoredCell
AbstractControl.BottomRightCell
AbstractControl.Worksheet
AbstractControl.ObjectPositioning
AbstractControl.Id
AbstractControl.Name
AbstractControl.Sheet
AbstractControl.Size
AbstractControl.ParentGroup
AbstractControl.Positioning
AbstractControl.Position
Namespace: DRIT.Spreadsheet.Forms
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ActiveXControl : AbstractControl, IWorksheetDrawingObject, ISheetDrawingObject, IDrawingObject

Fields

worksheet

Declaration
protected readonly Worksheet worksheet
Field Value
Type Description
Worksheet

Properties

Accelerator

A Unicode character that specifies the accelerator key for the control.

Declaration
public int Accelerator { get; set; }
Property Value
Type Description
System.Int32
Remarks

2.5.1 Accelerator

BackColor

Specifies the background color of the control.

Declaration
public long BackColor { get; set; }
Property Value
Type Description
System.Int64

BackStyle

Declaration
public BackStyle BackStyle { get; set; }
Property Value
Type Description
BackStyle

Caption

Specifies the descriptive text that appears on a control to identify or describe it.

Declaration
public string Caption { get; set; }
Property Value
Type Description
System.String
Remarks

2.5.10 Caption

ClassId

Declaration
public string ClassId { get; }
Property Value
Type Description
System.String

Enabled

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
System.Boolean

FontCharSet

Declaration
public int FontCharSet { get; set; }
Property Value
Type Description
System.Int32

FontEffects

Declaration
public FontEffects FontEffects { get; set; }
Property Value
Type Description
FontEffects

FontHeightInTwips

Declaration
public int FontHeightInTwips { get; set; }
Property Value
Type Description
System.Int32

FontName

Declaration
public string FontName { get; set; }
Property Value
Type Description
System.String

FontPitchAndFamily

Declaration
public int FontPitchAndFamily { get; set; }
Property Value
Type Description
System.Int32

FontWeight

Declaration
public int FontWeight { get; set; }
Property Value
Type Description
System.Int32

ForeColor

Declaration
public long ForeColor { get; set; }
Property Value
Type Description
System.Int64

HideSelection

Specifies whether selected text remains highlighted when a control does not have the focus.

Declaration
public bool HideSelection { get; set; }
Property Value
Type Description
System.Boolean
Remarks

True - Selected text is not highlighted unless the control has the focus (default). False - Selected text always appears highlighted.

IMEMode

Specifies the default run time mode of theInput Method Editor (IME) for a control.

Declaration
public IMEMode IMEMode { get; set; }
Property Value
Type Description
IMEMode
Remarks

This property applies only to applications written for East Asia and is ignored in other applications.

Locked

Declaration
public bool Locked { get; set; }
Property Value
Type Description
System.Boolean

MousePointer

Declaration
public MousePointer MousePointer { get; set; }
Property Value
Type Description
MousePointer

ParagraphAlign

Declaration
public ParaformatAlignment ParagraphAlign { get; set; }
Property Value
Type Description
ParaformatAlignment

PrintObject

Declaration
public bool PrintObject { get; set; }
Property Value
Type Description
System.Boolean

Shadow

Declaration
public bool Shadow { get; set; }
Property Value
Type Description
System.Boolean

SpecialEffect

Declaration
public SpecialEffect SpecialEffect { get; set; }
Property Value
Type Description
SpecialEffect

Value

Declaration
public string Value { get; set; }
Property Value
Type Description
System.String

WordWrap

Indicates whether the contents of a control automatically wrap at the end of a line.

Declaration
public bool WordWrap { get; set; }
Property Value
Type Description
System.Boolean

Implements

IWorksheetDrawingObject
ISheetDrawingObject
IDrawingObject
Back to top Generated by DocFX