C# Class Microsoft.Samples.KMoore.WPFSamples.Graph.Graph.GraphContentPresenter

Inheritance: System.Windows.Controls.ContentPresenter
Show file Open project: daszat/zetbox

Public Properties

Property Type Description
New bool
ScaleTransform System.Windows.Media.ScaleTransform
Velocity System.Windows.Vector
WasCenter bool

Public Methods

Method Description
GraphContentPresenter ( object content, System.Windows.Data.BindingBase nodeTemplateBinding, System.Windows.Data.BindingBase nodeTemplateSelectorBinding, bool offsetCenter ) : System

Protected Methods

Method Description
ArrangeOverride ( Size arrangeSize ) : Size
MeasureOverride ( Size constraint ) : Size

Private Methods

Method Description
updateTransform ( ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size arrangeSize ) : Size
arrangeSize System.Windows.Size
return System.Windows.Size

GraphContentPresenter() public method

public GraphContentPresenter ( object content, System.Windows.Data.BindingBase nodeTemplateBinding, System.Windows.Data.BindingBase nodeTemplateSelectorBinding, bool offsetCenter ) : System
content object
nodeTemplateBinding System.Windows.Data.BindingBase
nodeTemplateSelectorBinding System.Windows.Data.BindingBase
offsetCenter bool
return System

MeasureOverride() protected method

protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
return System.Windows.Size

Property Details

New public property

public bool New
return bool

ScaleTransform public property

public ScaleTransform,System.Windows.Media ScaleTransform
return System.Windows.Media.ScaleTransform

Velocity public property

public Vector,System.Windows Velocity
return System.Windows.Vector

WasCenter public property

public bool WasCenter
return bool