Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetStyleProperty Class / ImeSentenceMode Field
Example


In This Topic
    ImeSentenceMode Field
    In This Topic
    Represents the IME sentence mode of the sheet style.
    Syntax
    'Declaration
     
    Public Shared ReadOnly ImeSentenceMode As SheetStyleProperty
    'Usage
     
    Dim value As SheetStyleProperty
     
    value = SheetStyleProperty.ImeSentenceMode
    public static readonly SheetStyleProperty ImeSentenceMode
    Example
    This example gets the ImeSentenceMode 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