User Control 2.0 を使用したアクションの表示

WorkWithPlus for Web 14 から、User Control 2.0 を Standard Actions と User Actions に追加できるようになりました。

  • Standard Actions: [Action Group] の外部と内部 ([WorkWithPlus for Web Settings] > [アクション] > [Standard Actions] で事前設定済み)。
  • User Actions ([Action Group] の外部)

たとえば次の図では、セマンティック UI ライブラリと Font Awesome アイコンに、それぞれ User Control 2.0 を追加しています。

DisplayActionsUserControlImg01

 

これを実現するには、User Control 2.0 Wikiで説明されているとおりに User Control 2.0 オブジェクトを定義する必要があります。

DisplayActionsUserControlImg02

 

User Control を保存すると、[Control Type] プロパティで選択できるようになります。プロパティを設定するための [Custom:<UserControlName>] と [Buttom Custom Properties] が表示されます。

DisplayActionsUserControlImg03

 

ここで Standard Actions の各プロパティを設定できます。

DisplayActionsUserControlImg05

 

重要: 

Standard Actions に変更を加えた後、その変更を反映して適用するには、インスタンスの更新を実行する必要があります。これは [ツール] > [WorkWithPlus] > [for Web] > [パターンインスタンス] > [すべてのインスタンスを更新] から実行できます。
 

User Control の例のリンク:

ファイル: ConfirmCustomUserControl.rar
ファイル: IconButtonUserControl.rar


Copyright © 2007-2015 DVelop Software Solutions - www.workwithplus.com