MobileForms Toolkit Documentation

Style Class

Style contains the properties for displaying the various cells.

For a list of all members of this type, see Style Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         Resco.Controls.SmartGrid.Style

public class Style : Component

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Each Style is determined by its Name, that should be unique.

Style contains the informations required to display text and image by the cell. What is displayed is controled using ImagePosition property.

BackColor determines the background color of the cell using this style.

ForeColor determines the Color of the text and the text font is given by the Font property. You can change the position of the text inside the cell using TextAlignment property. FormatString is used to convert data to string of given format.

You can change the position of the image inside the cell using ImageAlignment property. You can resize the image to fit the cell using AutoResize property. TransparentColor or AutoTransparent property determines which color is transparent in the displayed image.

Requirements

Namespace: Resco.Controls.SmartGrid

Assembly: Resco.SmartGrid.CF3 (in Resco.SmartGrid.CF3.dll)

See Also

Style Members | Resco.Controls.SmartGrid Namespace