ActivityDelegate.ShouldSerializeDisplayName Method

Definition

Indicates whether the DisplayName property value should be serialized to XAML.

public:
 bool ShouldSerializeDisplayName();
public bool ShouldSerializeDisplayName ();
member this.ShouldSerializeDisplayName : unit -> bool
Public Function ShouldSerializeDisplayName () As Boolean

Returns

true, if the DisplayName property value should be serialized; otherwise, false.

Remarks

ShouldSerializeDisplayName returns true if the DisplayName was explicitly set on the ActivityDelegate.

Applies to