PowerTools SPREAD for Windows Forms 10.0J
NoteIndicatorPosition プロパティ (StyleInfo)


セルノートインジケーターの位置を取得または設定します。
構文
'Declaration
 
Public Overridable Property NoteIndicatorPosition As NoteIndicatorPosition
'使用法
 
Dim instance As StyleInfo
Dim value As NoteIndicatorPosition
 
instance.NoteIndicatorPosition = value
 
value = instance.NoteIndicatorPosition
public virtual NoteIndicatorPosition NoteIndicatorPosition {get; set;}
次のサンプルコードは、NoteIndicatorPositionプロパティを設定します。
FarPoint.Win.Spread.StyleInfo info = new FarPoint.Win.Spread.StyleInfo();
bool b;
info.BackColor = Color.LightBlue;
info.NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomRight;   
fpSpread1.ActiveSheet.DefaultStyle = info;
b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.NoteIndicatorPosition);
listBox1.Items.Add(b.ToString());
Dim info As New FarPoint.Win.Spread.StyleInfo()
Dim b As Boolean
info.BackColor = Color.LightBlue
info.NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomRight
FpSpread1.ActiveSheet.DefaultStyle = info
b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.NoteIndicatorPosition)
ListBox1.Items.Add(b.ToString())
参照

StyleInfo クラス
StyleInfo メンバ

 

 


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