1
// Copyright © Microsoft Corporation.
2
// This source is subject to the Microsoft Source License for Silverlight Controls (March 2008 Release).
3
// Please see http://go.microsoft.com/fwlink/?LinkID=111693 for details.
4
// All other rights reserved.
6
namespace System.Windows.Controlsb1
8
// Determines the location and visibility of the editing row.
9
internal enum DataGridEditingRowLocation
11
Bottom, // The editing row is collapsed below the displayed rows
12
Inline, // The editing row is visible and displayed
13
Top // The editing row is collapsed above the displayed rows
17
/// Determines whether the inner cells' vertical/horizontal gridlines are shown or not.
19
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1717:OnlyFlagsEnumsShouldHavePluralNames")]
20
public enum DataGridGridlines
30
/// Determines whether the row/column headers are shown or not.
32
public enum DataGridHeaders
35
/// Show Row, Column, and Corner Headers
40
/// Show only Column Headers with top-right corner Header
45
/// Show only Row Headers with bottom-left corner
50
/// Don’t show any Headers
55
// Determines the location of the new input row in regards to the scrolling rows.
57
enum DataGridNewRowLocation
59
Bottom, // The new row is frozen at the bottom of the grid, on top of the potential horizontal scrollbar
60
Inline, // The new row is placed below the last scrolling row, and scrolls with the rows
61
Top // The new row is frozen at the top of the grid between the column headers and scrolling rows
64
public enum DataGridRowDetailsVisibility
66
Collapsed = 0, // Show no details by default. Developer is in charge of toggling visibility
67
Visible = 1, // Show the details section for all rows
68
VisibleWhenSelected = 2 // Show the details section only for the selected row(s)
72
/// Determines the selection model
74
public enum DataGridSelectionMode