Visual Basic (Declaration) | |
---|---|
Public Property CellSize As Size |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Vt Dim value As Size instance.CellSize = value value = instance.CellSize |
C# | |
---|---|
public Size CellSize {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property Size get_CellSize(); public: __property void set_CellSize( Size value ); |
Property Value
A Size value reflecting the size of a cell.The Vt control is comprised of a "grid" of cells; each cell contains one character. All cells have the same dimensions as determined by the size of the font.
This property can be used to perform resize calculations (for example, if the size of the font is changed, the size of the Vt control can be changed).
This property can be set programatically at runtime. To reset to the default, reset the Font property.
Target Platforms: Microsoft .NET Framework 2.0