Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / StyleInfo Class / ImeMode Property
Example


In This Topic
    ImeMode Property (StyleInfo)
    In This Topic
    Gets or sets the IME mode of the cell style.
    Syntax
    'Declaration
     
    Public Overridable Property ImeMode As ImeMode
    'Usage
     
    Dim instance As StyleInfo
    Dim value As ImeMode
     
    instance.ImeMode = value
     
    value = instance.ImeMode
    public virtual ImeMode ImeMode {get; set;}
    Example
    This example sets the ImeMode property.
    FarPoint.Win.Spread.StyleInfo info = new FarPoint.Win.Spread.StyleInfo();
    bool b;
    info.BackColor = Color.LightBlue;
    info.ImeMode = ImeMode.Inherit;
    info.ImeSentenceMode = FarPoint.Win.ImeSentenceMode.Normal;
    fpSpread1.ActiveSheet.DefaultStyle = info;
    b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.ImeSentenceMode);
    listBox1.Items.Add(b.ToString());
    Dim info As New FarPoint.Win.Spread.StyleInfo()
    Dim b As Boolean
    info.BackColor = Color.LightBlue
    info.ImeMode = ImeMode.Inherit
    info.ImeSentenceMode = FarPoint.Win.ImeSentenceMode.Normal
    fpSpread1.ActiveSheet.DefaultStyle = info
    b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.ImeSentenceMode)
    ListBox1.Items.Add(b.ToString())
    See Also