ComponentFactory.Krypton.Toolkit.KryptonTreeView.InternalTreeView.ResetIndent C# (CSharp) Method

ResetIndent() public method

public ResetIndent ( ) : void
return void
            public void ResetIndent()
            {
                // Only grab the required reference once
                if (_miRI == null)
                {
                    // Use reflection so we can call the TreeView private method
                    _miRI = typeof(TreeView).GetMethod("ResetIndent",
                                                        BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.InvokeMethod,
                                                        null, CallingConventions.HasThis,
                                                        new Type[] { }, null);
                }

                _miRI.Invoke(this, new object[] { });
            }