| File: System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DetailsButton.cs | Web Access |
| Project: src\winforms\src\System.Windows.Forms\System.Windows.Forms.csproj (System.Windows.Forms) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Windows.Forms.PropertyGridInternal; internal partial class DetailsButton : Button { private readonly GridErrorDialog _parent; public DetailsButton(GridErrorDialog form) { _parent = form; } public bool Expanded => _parent.DetailsButtonExpanded; protected override AccessibleObject CreateAccessibilityInstance() => new DetailsButtonAccessibleObject(this); }