From 7437421704c5b19e15ea327ca03051ebb6c9a446 Mon Sep 17 00:00:00 2001 From: Jumar Macato Date: Thu, 30 May 2019 18:16:18 +0800 Subject: [PATCH] Comment-out code that is not going to be used. --- src/Avalonia.Controls/Grid.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Avalonia.Controls/Grid.cs b/src/Avalonia.Controls/Grid.cs index 460c2bb5ee..1bb2cd556f 100644 --- a/src/Avalonia.Controls/Grid.cs +++ b/src/Avalonia.Controls/Grid.cs @@ -50,7 +50,7 @@ namespace Avalonia.Controls /// /// /// - protected internal override IEnumerator LogicalChildren + /* protected internal override IEnumerator LogicalChildren { get { @@ -74,7 +74,7 @@ namespace Avalonia.Controls return (new GridChildrenCollectionEnumeratorSimple(this, !noChildren)); } - } + } */ /// /// Helper for setting Column property on a Control. @@ -235,7 +235,7 @@ namespace Avalonia.Controls // //------------------------------------------------------ - /// + /* /// /// Derived class must implement to support Visual children. The method must return /// the child at the specified index. Index must be between 0 and GetVisualChildrenCount-1. /// @@ -272,7 +272,7 @@ namespace Avalonia.Controls { //since GridLinesRenderer has not been added as a child, so we do not subtract get { return base.VisualChildrenCount + (_gridLinesRenderer != null ? 1 : 0); } - } + }*/ /// @@ -2902,7 +2902,7 @@ namespace Avalonia.Controls } } - /// + /* /// /// /// private static bool IsIntValueNotNegative(object value) @@ -2916,7 +2916,7 @@ namespace Avalonia.Controls private static bool IsIntValueGreaterThanZero(object value) { return ((int)value > 0); - } + }*/ /// /// Helper for Comparer methods. @@ -3890,7 +3890,7 @@ namespace Avalonia.Controls } } - /// + /* /// /// Implementation of a simple enumerator of grid's logical children /// private class GridChildrenCollectionEnumeratorSimple : IEnumerator @@ -3974,7 +3974,7 @@ namespace Avalonia.Controls private Controls _enumerator2Collection; private int _enumerator2Index; private int _enumerator2Count; - } + }*/ /// /// Helper to render grid lines.