Show / Hide Table of Contents

Class TemplateBehaviors

Represents a collection of attached properties for Templates.

Inheritance
object
TemplateBehaviors
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba.Behaviors
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public static class TemplateBehaviors

Fields

View Source

AttachValidationErrorEventTriggersProperty

Using a DependencyProperty as the backing store for AttachValidationErrorEventTriggers. This enables animation, styling, binding, etc...

Declaration
public static readonly DependencyProperty AttachValidationErrorEventTriggersProperty
Field Value
Type Description
DependencyProperty
View Source

ClearOnSaveProperty

ClearOnSave Attached Dependency Property.

Declaration
public static readonly DependencyProperty ClearOnSaveProperty
Field Value
Type Description
DependencyProperty
View Source

FieldProperty

Field Attached Dependency Property.

Declaration
public static readonly DependencyProperty FieldProperty
Field Value
Type Description
DependencyProperty
View Source

IsFieldDisplayedProperty

Using a DependencyProperty as the backing store for IsFieldDisplayed. This enables animation, styling, binding, etc...

Declaration
public static readonly DependencyProperty IsFieldDisplayedProperty
Field Value
Type Description
DependencyProperty
View Source

SourceFieldProperty

SourceField Attached Dependency Property.

Declaration
public static readonly DependencyProperty SourceFieldProperty
Field Value
Type Description
DependencyProperty

Methods

View Source

GetAttachValidationErrorEventTriggers(DependencyObject)

Gets the AttachValidationErrorEventTriggers property. This property is used to control which objects will have ValidationErrorEventTriggers added to their System.Windows.Interactivity.Interaction.Triggers collection. This done with an attached behavior because the System.Windows.Interactivity.Interaction.Triggers collection cannot be modified directly in a style.

Declaration
public static bool GetAttachValidationErrorEventTriggers(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

The dependency object.

Returns
Type Description
bool

The source Field.

View Source

GetClearOnSave(DependencyObject)

Gets the ClearOnSave property.

Declaration
public static bool GetClearOnSave(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

The dependency object.

Returns
Type Description
bool

The field on which values depend.

View Source

GetField(DependencyObject)

Gets the Field property.

Declaration
public static FieldViewModel GetField(DependencyObject obj)
Parameters
Type Name Description
DependencyObject obj

The dependency object.

Returns
Type Description
FieldViewModel

The source Field.

View Source

GetIsFieldDisplayed(DependencyObject)

Gets the IsFieldDisplayed property. This property is used by the BugEditor in order to track which fields from the real bug DB have been displayed on the BugAnywhere bug editor form.

Declaration
public static bool GetIsFieldDisplayed(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

The dependency object.

Returns
Type Description
bool

The source Field.

View Source

GetSourceField(DependencyObject)

Gets the SourceField property.

Declaration
public static string GetSourceField(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

The dependency object.

Returns
Type Description
string

The source Field.

View Source

SetAttachValidationErrorEventTriggers(DependencyObject, bool)

Sets the AttachValidationErrorEventTriggers property. This property is used to control which objects will have ValidationErrorEventTriggers added to their System.Windows.Interactivity.Interaction.Triggers collection. This done with an attached behavior because the System.Windows.Interactivity.Interaction.Triggers collection cannot be modified directly in a style.

Declaration
public static void SetAttachValidationErrorEventTriggers(DependencyObject element, bool value)
Parameters
Type Name Description
DependencyObject element

The dependency object.

bool value

The source field to set.

View Source

SetClearOnSave(DependencyObject, bool)

Sets the ClearOnSave property.

Declaration
public static void SetClearOnSave(DependencyObject element, bool value)
Parameters
Type Name Description
DependencyObject element

The dependency object.

bool value

The field on which valid values depend.

View Source

SetField(DependencyObject, FieldViewModel)

Sets the Field property.

Declaration
public static void SetField(DependencyObject obj, FieldViewModel value)
Parameters
Type Name Description
DependencyObject obj

The dependency object.

FieldViewModel value

The source field to set.

View Source

SetIsFieldDisplayed(DependencyObject, bool)

Sets the IsFieldDisplayed property. This property is used by the BugEditor in order to track which fields from the real bug DB have been displayed on the BugAnywhere bug editor form.

Declaration
public static void SetIsFieldDisplayed(DependencyObject element, bool value)
Parameters
Type Name Description
DependencyObject element

The dependency object.

bool value

The source field to set.

View Source

SetSourceField(DependencyObject, string)

Sets the SourceField property.

Declaration
public static void SetSourceField(DependencyObject element, string value)
Parameters
Type Name Description
DependencyObject element

The dependency object.

string value

The source field to set.

  • View Source
In this article
Back to top Generated by DocFX