MESCIUS SPREAD for Windows Forms 17.0J
InterfaceRenderer プロパティ (FpSpread)

タブストリップ要素を描画するためのタブストリップレンダラーを取得または設定します。
構文
'Declaration
 
Public Property InterfaceRenderer As IInterfaceRenderer
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 メンバ

 

 


© MESCIUS inc. All rights reserved.