private void ResetState()
 {
     Children.Clear();
     DependencyProperties = new PropertyContainerClass(this);
     InvalidateMeasure();
     InvalidateArrange();
 }
 private void ResetState()
 {
     DependencyProperties = new PropertyContainerClass(this);
     Children.Clear();
     InvalidateArrange();
     InvalidateMeasure();
 }
 private void ResetState()
 {
     DependencyProperties = new PropertyContainerClass();
     InvalidateArrange();
     InvalidateMeasure();
     Content     = null;
     LocalMatrix = Matrix.Identity;
 }
 private void ResetState()
 {
     DependencyProperties = new PropertyContainerClass();
     InvalidateArrange();
     InvalidateMeasure();
     Content = null;
     LocalMatrix = Matrix.Identity;
 }
Beispiel #5
0
 /// <summary>
 /// Creates a new instance of <see cref="UIElement"/>.
 /// </summary>
 protected UIElement()
 {
     Id = Guid.NewGuid();
     DependencyProperties = new PropertyContainerClass(this);
     VisualChildrenCollection = new UIElementCollection();
 }
 private void ResetState()
 {
     DependencyProperties = new PropertyContainerClass(this);
     LocalMatrix = Matrix.Identity;
     Children.Clear();
 }
Beispiel #7
0
 /// <summary>
 /// Internal helper to apply value (if not already overriden).
 /// </summary>
 /// <param name="propertyContainer"></param>
 internal abstract void ApplyIfNotSet(ref PropertyContainerClass propertyContainer);
Beispiel #8
0
 /// <summary>
 /// Internal helper to apply value (if not already overriden).
 /// </summary>
 /// <param name="propertyContainer"></param>
 internal abstract void ApplyIfNotSet(ref PropertyContainerClass propertyContainer);
Beispiel #9
0
 private void ResetState()
 {
     DependencyProperties = new PropertyContainerClass(this);
     LocalMatrix          = Matrix.Identity;
     Children.Clear();
 }
Beispiel #10
0
 /// <summary>
 /// Internal helper to apply value (if not already overriden).
 /// </summary>
 /// <param name="propertyContainer"></param>
 internal abstract void ApplyIfNotSet([NotNull] PropertyContainerClass propertyContainer);