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