Class Phase
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class Phase : Control, IPhase, ISwimlaneChild, IGroupable, IPhaseView, IView, IDiagramElement, IID, INotifyPropertyChanged, ISharedData, IDisposable
Constructors
Phase()
Creaets a new instance of Phase class.
Declaration
public Phase()
Fields
HeaderProperty
Using a DependencyProperty as the backing store for Header. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty HeaderProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IDProperty
Using a DependencyProperty as the backing store for ID. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty IDProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IsSelectedProperty
Using a DependencyProperty as the backing store for IsSelected. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty IsSelectedProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
KeyProperty
Using a DependencyProperty as the backing store for Key. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty KeyProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
OrientationProperty
Using a DependencyProperty as the backing store for Orientation. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty OrientationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ShapeStyleProperty
Using a DependencyProperty as the backing store for Style. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty ShapeStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
UnitHeightProperty
Using a DependencyProperty as the backing store for UnitHeight. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty UnitHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
UnitWidthProperty
Using a DependencyProperty as the backing store for UnitWidth. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty UnitWidthProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ZIndexProperty
Using a DependencyProperty as the backing store for ZIndex. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty ZIndexProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
BoundingRectangle
Gets or sets the bounding rectangle of the AnnotationEditor.
Declaration
public Rect BoundingRectangle { get; }
Property Value
Type |
---|
Windows.Foundation.Rect |
Header
Gets or sets a header of the Phase.
Declaration
public object Header { get; set; }
Property Value
Type |
---|
System.Object |
Remarks
Header defines the title of the Phase.
ID
Gets or sets the id of the phase.
Declaration
public object ID { get; set; }
Property Value
Type |
---|
System.Object |
Info
Gets or sets info value of Phase class.
Declaration
public object Info { get; set; }
Property Value
Type |
---|
System.Object |
IsSelected
Gets or sets a value indicates whether the phase is selected. The default value is set to false
Declaration
public bool IsSelected { get; set; }
Property Value
Type |
---|
System.Boolean |
Key
Gets or sets the key of the phase.
Declaration
public object Key { get; set; }
Property Value
Type |
---|
System.Object |
Orientation
Gets or sets the Orientation. This is applicable only if we add the element into stencil.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Orientation |
ShapeStyle
Gets or sets the shapestyle of the phase.
Declaration
public Style ShapeStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
UnitHeight
Gets or sets the height of the phase.
Declaration
public double UnitHeight { get; set; }
Property Value
Type |
---|
System.Double |
UnitWidth
Gets or sets the width of the phase.
Declaration
public double UnitWidth { get; set; }
Property Value
Type |
---|
System.Double |
ZIndex
Gets or sets the z-index of the phase.
Declaration
public int ZIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
ArrangeOverride(Size)
Method to arrange Phase class elements to given size.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize | Size to arrange elements. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Return size. |
MeasureOverride(Size)
Method to measure size of Phase class elements.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize | Size to be measure. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Return measured size. |
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
OnPropertyChanged(String)
Method for property values are changed for Phase class.
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Property name. |
Events
PropertyChanged
Event to notify when property values are changed for Phase class.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |