Redigera

Dela via


CompositeDesignerTheme.WatermarkImagePath Property

Definition

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

Property Value

A string value that represents the relative path to the watermark image to use on the CompositeActivityDesigner.

Examples

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

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

Applies to