PowerTools SPREAD for Windows Forms 10.0J
InterfaceRenderer プロパティ (FpSpread)


タブストリップ要素を描画するためのタブストリップレンダラーを取得または設定します。
構文
'Declaration
 
Public Property InterfaceRenderer As IInterfaceRenderer
'使用法
 
Dim instance As FpSpread
Dim value As IInterfaceRenderer
 
instance.InterfaceRenderer = value
 
value = instance.InterfaceRenderer
public IInterfaceRenderer InterfaceRenderer {get; set;}
次のサンプルコードは、InterfaceRendererプロパティを設定します。
// Set the sheet tabs to always appear.
fpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always;
// Set the width to 60%.
fpSpread1.TabStripRatio = 0.60;
// Create new tab strip.
FarPoint.Win.Spread.TabStrip tstrip;
tstrip = fpSpread1.TabStrip;
// Display the tab strip buttons as needed.
tstrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.AsNeeded;
// Set the background color.
tstrip.BackColor = Color.Bisque;
fpSpread1.InterfaceRenderer = null;
' Set the sheet tabs to always appear.
FpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always
' Set the width to 60%.
FpSpread1.TabStripRatio = 0.60
' Create new tab strip.
Dim tstrip As New FarPoint.Win.Spread.TabStrip()
tstrip = FpSpread1.TabStrip
' Display the tab strip buttons as needed.
tstrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.AsNeeded
' Set the background color.
tstrip.BackColor = Color.Bisque
FpSpread1.InterfaceRenderer = Nothing
参照

FpSpread クラス
FpSpread メンバ

 

 


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