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

属性值

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

适用于