CompositeDesignerTheme.WatermarkImagePath 屬性

定義

取得或設定複合活動設計工具上使用之浮水印影像的相對路徑。Gets or sets the relative path to the watermark image to use on the composite activity designer.

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 上使用的浮水印影像相對路徑。A string value that represents the relative path to the watermark image to use on the CompositeActivityDesigner.

範例

下列範例示範如何建立自訂 CompositeDesignerTheme,其方式是從 CompositeDesignerTheme 類別衍生,並為新主題設定適當的屬性。The following example shows how to create a custom CompositeDesignerTheme by deriving from the CompositeDesignerTheme class and setting the appropriate properties for the new theme.

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

若要使用 CompositeActivityDesigner 上的主題,請將 ActivityDesignerThemeAttribute 套用至 CompositeActivityDesigner 類別。To use the theme on a CompositeActivityDesigner, apply the ActivityDesignerThemeAttribute to the CompositeActivityDesigner class.

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

適用於