You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

背景として使用するブラシ
動的スタイル (PRIM_VS.Style) のメンバ
データタイプ - PRIM_VS.Brush - ブラシ

詳細


BackgroundBrush プロパティは、コントロールの背景に適用される Brush のインスタンスへの参照です。
スタイルの背景機能は、子コントロールには継承されません。したがって、フォームに適用された背景は、そのまま子コントロールに繰り返されることはありません。
PanelsLabels はデフォルトで透明であり、メインページの背景を定義するために、多くの場合にのみ必要です。
BackgroundBrush と NormBackColor の両方が同じスタイルで指定されている場合は、BackgroundBrush が優先されます。


この例では、背景 Linear Brush を使用した単純なスタイルの定義を示します。
IDE はスタイルとブラシの作成を管理します。このコードは参考目的のために提供されています。
Define_Com Class(#PRIM_VS.Style) Name(#BackGround) Backgroundbrush(#Backgroundbrush)
Define_Com Class(#PRIM_VS.LinearBrush) Name(#Backgroundbrush) Colors(#BackgroundbrushColors)
Define_Com Class(#Prim_Vs.BrushColors) Name(#BackgroundbrushColors)
Define_Com Class(#PRIM_VS.BrushColor) Name(#BackgroundbrushColor1) Color(Silver) Parent(#BackgroundbrushColors)
Define_Com Class(#PRIM_VS.BrushColor) Name(#BackgroundbrushColor1) At(100) Color(White) Parent(#BackgroundbrushColors)

参照

すべてのコンポーネント クラス
テクニカルリファレンス

  • No labels