PowerTools SPREAD for Windows Forms 10.0J
Orientation プロパティ (ProgressCellType)


プログレス インジケータの向きを取得または設定します。
構文
'Declaration
 
Public Property Orientation As ProgressOrientation
'使用法
 
Dim instance As ProgressCellType
Dim value As ProgressOrientation
 
instance.Orientation = value
 
value = instance.Orientation
public ProgressOrientation Orientation {get; set;}

プロパティ値

進行状況インジケータの向きを決定するProgressOrientation設定

次のサンプルコードは、進行状況インジケータ型セルを作成し、いくつかのプロパティを設定します。

FarPoint.Win.Spread.CellType.ProgressCellType progress =new FarPoint.Win.Spread.CellType.ProgressCellType();

        progress.Style = FarPoint.Win.ProgressStyle.Bars;
        progress.FillColor = Color.Coral;
        progress.FillTextColor = Color.DarkGreen;
        progress.Minimum = 0;
        progress.Maximum = 100;
        progress.Orientation = FarPoint.Win.ProgressOrientation.LeftToRight;
        fpSpread1.Sheets[0].Cells[0, 0].CellType = progress;
        fpSpread1.Sheets[0].Cells[0, 0].Value = "50";
Dim progress As New FarPoint.Win.Spread.CellType.ProgressCellType()

        progress.Style = FarPoint.Win.ProgressStyle.Bars
        progress.FillColor = Color.Coral
        progress.FillTextColor = Color.DarkGreen
        progress.Minimum = 0
        progress.Maximum = 100
        progress.Orientation = FarPoint.Win.ProgressOrientation.LeftToRight
        FpSpread1.Sheets(0).Cells(0, 0).CellType = progress
        FpSpread1.Sheets(0).Cells(0, 0).Value = "50"
参照

ProgressCellType クラス
ProgressCellType メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.