CompositeDesignerTheme.WatermarkImagePath 屬性

定義

取得或設定複合活動設計工具上使用之浮水印影像的相對路徑。

public:
 virtual property System::String ^ WatermarkImagePath { System::String ^ get(); void set(System::String ^ value); };
public virtual string WatermarkImagePath { get; set; }
member this.WatermarkImagePath : string with get, set
Public Overridable Property WatermarkImagePath As String

屬性值

字串值,代表 CompositeActivityDesigner 上使用的浮水印影像相對路徑。

範例

下列範例示範如何建立自訂 CompositeDesignerTheme,其方式是從 CompositeDesignerTheme 類別衍生,並為新主題設定適當的屬性。

[ActivityDesignerTheme(typeof(ParallelIfTheme))]
public class ParallelIfDesigner : ParallelActivityDesigner
<ActivityDesignerTheme(GetType(ParallelIfTheme))> _
Public Class ParallelIfDesigner
    Inherits ParallelActivityDesigner

若要使用 CompositeActivityDesigner 上的主題,請將 ActivityDesignerThemeAttribute 套用至 CompositeActivityDesigner 類別。

[ActivityDesignerTheme(typeof(ParallelIfTheme))]
public class ParallelIfDesigner : ParallelActivityDesigner
<ActivityDesignerTheme(GetType(ParallelIfTheme))> _
Public Class ParallelIfDesigner
    Inherits ParallelActivityDesigner

適用於