Skip to content

Commit 889dff4

Browse files
authored
Merge pull request #640 from telerik/dkrastev/m-gridview-structure-refactoring
RadGridView: Structure Refactoring
2 parents 47aa52b + 5a5fb1f commit 889dff4

File tree

386 files changed

+15699
-15484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

386 files changed

+15699
-15484
lines changed

_config.yml

Lines changed: 71 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -724,105 +724,124 @@ navigation:
724724
controls/gauges/radialgauge/understanding-gauge-elements:
725725
title: Understanding Gauge Elements
726726
position: 4
727+
727728
controls/gridview:
728729
title: GridView
729730
position: 260
731+
730732
controls/gridview/fundamentals:
731733
title: Fundamentals
732-
position: 2
733-
controls/gridview/columns:
734+
position: 4
735+
controls/gridview/features:
736+
title: Features
737+
position: 8
738+
controls/gridview/visual-elements:
739+
title: Visual Elements
740+
position: 9
741+
controls/gridview/visual-elements/columns:
734742
title: Columns
735743
position: 3
736-
controls/gridview/columns/column-types:
744+
controls/gridview/visual-elements/columns/column-types:
737745
title: Column Types
738746
position: 3
739-
controls/gridview/rows:
747+
controls/gridview/visual-elements/rows:
740748
title: Rows
741749
position: 4
742-
controls/gridview/rows/how-to:
750+
controls/gridview/visual-elements/rows/how-to:
743751
title: How To
744752
position: 19
745-
controls/gridview/cells:
753+
controls/gridview/visual-elements/cells:
746754
title: Cells
747755
position: 5
748-
controls/gridview/cells/formating-examples:
756+
controls/gridview/visual-elements/cells/formating-examples:
749757
title: Formatting Examples
750758
position: 10
751-
controls/gridview/drag-and-drop:
752-
title: Drag and Drop
753-
position: 5
754-
controls/gridview/editors:
759+
controls/gridview/features/editing/editors:
755760
title: Editors
756761
position: 6
757-
controls/gridview/editors/how-to:
762+
controls/gridview/features/editing/editors/how-to:
758763
title: How-To
759764
position: 7
760-
controls/gridview/context-menus:
761-
title: Context Menus
762-
position: 7
763-
controls/gridview/populating-with-data:
764-
title: Populating with Data
765-
position: 8
766765
controls/gridview/hierarchical-grid:
767766
title: Hierarchical Grid
768-
position: 9
767+
position: 10
769768
controls/gridview/hierarchical-grid/how-to:
770769
title: How-To
771770
position: 10
772-
controls/gridview/selection:
773-
title: Selection
774-
position: 10
775-
controls/gridview/scrolling:
776-
title: Scrolling
777-
position: 12
778-
controls/gridview/sorting:
779-
title: Sorting
780-
position: 13
781-
controls/gridview/grouping:
782-
title: Grouping
783-
position: 14
784-
controls/gridview/filtering:
771+
772+
controls/gridview/features/filtering:
785773
title: Filtering
786-
position: 15
787-
controls/gridview/paging:
774+
position: 0
775+
controls/gridview/features/grouping:
776+
title: Grouping
777+
position: 1
778+
controls/gridview/features/sorting:
779+
title: Sorting
780+
position: 2
781+
controls/gridview/features/editing:
782+
title: Editing
783+
position: 3
784+
controls/gridview/features/selection:
785+
title: Selection
786+
position: 4
787+
controls/gridview/features/paging:
788788
title: Paging
789-
position: 16
790-
controls/gridview/expression-editor:
789+
position: 5
790+
controls/gridview/features/drag-and-drop:
791+
title: Drag and Drop
792+
position: 6
793+
controls/gridview/features/save-and-load-layout:
794+
title: Save and Load Layout
795+
position: 7
796+
controls/gridview/features/exporting-data:
797+
title: Exporting Data
798+
position: 8
799+
controls/gridview/features/scrolling:
800+
title: Scrolling
801+
position: 9
802+
controls/gridview/features/context-menus:
803+
title: Context Menus
804+
position: 10
805+
controls/gridview/features/printing-support:
806+
title: Printing Support
807+
position: 11
808+
809+
810+
controls/gridview/populating-with-data:
811+
title: Populating with Data
812+
position: 10
813+
controls/gridview/features/editing/expression-editor:
791814
title: Expression Editor
792815
position: 17
793-
controls/gridview/insert-update-delete-records:
816+
controls/gridview/features/editing/insert-update-delete-records:
794817
title: Insert/Update/Delete Records
795818
position: 18
796819
controls/gridview/view-definitions:
797820
title: View Definitions
798-
position: 19
799-
controls/gridview/virtual-mode:
821+
position: 7
822+
controls/gridview/features/virtual-mode:
800823
title: Virtual Mode
801824
position: 20
802-
controls/gridview/exporting-data:
803-
title: Exporting Data
804-
position: 21
805-
controls/gridview/exporting-data/how-to:
825+
826+
controls/gridview/features/exporting-data/how-to:
806827
title: How-To
807828
position: 21
808829
controls/gridview/design-time-support:
809830
title: Design-time
810831
position: 2
811832
controls/gridview/end-user-capabilities:
812833
title: End-user Capabilities
813-
position: 23
834+
position: 13
814835
controls/gridview/styling-and-appearance:
815836
title: Styling and Appearance
816-
position: 24
837+
position: 11
817838
controls/gridview/localization:
818839
title: Localization
819-
position: 25
820-
controls/gridview/save-and-load-layout:
821-
title: Save and Load Layout
822-
position: 26
823-
controls/gridview/printing-support:
824-
title: Printing Support
825-
position: 27
840+
position: 12
841+
842+
843+
844+
826845
controls/heatmap:
827846
title: HeatMap
828847
position: 265

controls/gridview/common-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Describes the most commonly used properties of RadGridView
55
slug: winforms/gridview/common-properties
66
tags: copy/paste/cut
77
published: True
8-
position: 11
8+
position: 5
99
---
1010

1111
# Commonly Used Properties

controls/gridview/developer-focused-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Additional examples built on top the WinForms GridView control.
55
slug: winforms/gridview/developer-focused-examples
66
tags: developer, sdk, examples
77
published: True
8-
position: 2
8+
position: 14
99
---
1010

1111
# Developer Focused Examples
Lines changed: 68 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,68 @@
1-
---
2-
title: Title
3-
page_title: Title - RadGridView
4-
description: Describes how you can show the grid view caption label.
5-
slug: winforms/gridview/caption
6-
tags: gridview, caption, title
7-
published: True
8-
position: 12
9-
---
10-
11-
## Title
12-
13-
Since R3 2018 SP1 RadGridView supports displaying a Title(Caption). By default the Title is displayed on top. The position and the alignment of the title text can be easily changed.
14-
15-
![WinForms RadGridView Title Text](images/gridview-caption001.png)
16-
17-
## Showing the Title
18-
19-
To show the title just set the __TitleText__ property. In addition the following snippet shows how you can set the font and the ForeColor.
20-
21-
{{source=..\SamplesCS\GridView\GridTitle\GridTitle.cs region=ShowTitle}}
22-
{{source=..\SamplesVB\GridView\GridTitle\GridTitle.vb region=ShowTitle}}
23-
24-
````C#
25-
radGridView1.TitleText = "Customers";
26-
radGridView1.GridViewElement.TitleLabelElement.ForeColor = Color.DarkRed;
27-
radGridView1.GridViewElement.TitleLabelElement.Font = new Font("Consolas", 12, FontStyle.Bold);
28-
29-
````
30-
````VB.NET
31-
radGridView1.TitleText = "Customers"
32-
radGridView1.GridViewElement.TitleLabelElement.ForeColor = Color.DarkRed
33-
radGridView1.GridViewElement.TitleLabelElement.Font = New Font("Consolas", 12, FontStyle.Bold)
34-
35-
````
36-
37-
{{endregion}}
38-
39-
>note If the **TitleText** is set to an empty string, the GridViewElement.**TitleLabelElement** is collapsed. Otherwise, it is always shown and if you need to hide it, it is necessary to manage the GridViewElement.TitleLabelElement.**Visibility** property.
40-
41-
## Changing the Position of the Title
42-
43-
To change the position you can use the __TitlePosition__ property. In addition you can set the __FlipText__ property. The __TitleLabelElement__ property allows you to access the actual label element. This element is a [LightVisualElement]({%slug winforms/telerik-presentation-framework/primitives/lightvisualelement%}) which is capable of displaying text and image.
44-
45-
46-
{{source=..\SamplesCS\GridView\GridTitle\GridTitle.cs region=Position}}
47-
{{source=..\SamplesVB\GridView\GridTitle\GridTitle.vb region=Position}}
48-
````C#
49-
radGridView1.TitlePosition = Telerik.WinControls.Layouts.Dock.Left;
50-
radGridView1.GridViewElement.TitleLabelElement.TextOrientation = Orientation.Vertical;
51-
radGridView1.GridViewElement.TitleLabelElement.FlipText = true;
52-
53-
````
54-
````VB.NET
55-
radGridView1.TitlePosition = Telerik.WinControls.Layouts.Dock.Left
56-
radGridView1.GridViewElement.TitleLabelElement.TextOrientation = Orientation.Vertical
57-
radGridView1.GridViewElement.TitleLabelElement.FlipText = True
58-
59-
````
60-
61-
{{endregion}}
62-
63-
64-
# See Also
65-
66-
* [Getting Started]({%slug winforms/gridview/getting-started%})
67-
68-
* [Overview]({%slug winforms/gridview%})
1+
---
2+
title: Title
3+
page_title: Title - RadGridView
4+
description: Describes how you can show the grid view caption label.
5+
slug: winforms/gridview/caption
6+
tags: gridview, caption, title
7+
published: True
8+
position: 15
9+
---
10+
11+
## Title
12+
13+
Since R3 2018 SP1 RadGridView supports displaying a Title(Caption). By default the Title is displayed on top. The position and the alignment of the title text can be easily changed.
14+
15+
![WinForms RadGridView Title Text](images/gridview-caption001.png)
16+
17+
## Showing the Title
18+
19+
To show the title just set the __TitleText__ property. In addition the following snippet shows how you can set the font and the ForeColor.
20+
21+
{{source=..\SamplesCS\GridView\GridTitle\GridTitle.cs region=ShowTitle}}
22+
{{source=..\SamplesVB\GridView\GridTitle\GridTitle.vb region=ShowTitle}}
23+
24+
````C#
25+
radGridView1.TitleText = "Customers";
26+
radGridView1.GridViewElement.TitleLabelElement.ForeColor = Color.DarkRed;
27+
radGridView1.GridViewElement.TitleLabelElement.Font = new Font("Consolas", 12, FontStyle.Bold);
28+
29+
````
30+
````VB.NET
31+
radGridView1.TitleText = "Customers"
32+
radGridView1.GridViewElement.TitleLabelElement.ForeColor = Color.DarkRed
33+
radGridView1.GridViewElement.TitleLabelElement.Font = New Font("Consolas", 12, FontStyle.Bold)
34+
35+
````
36+
37+
{{endregion}}
38+
39+
>note If the **TitleText** is set to an empty string, the GridViewElement.**TitleLabelElement** is collapsed. Otherwise, it is always shown and if you need to hide it, it is necessary to manage the GridViewElement.TitleLabelElement.**Visibility** property.
40+
41+
## Changing the Position of the Title
42+
43+
To change the position you can use the __TitlePosition__ property. In addition you can set the __FlipText__ property. The __TitleLabelElement__ property allows you to access the actual label element. This element is a [LightVisualElement]({%slug winforms/telerik-presentation-framework/primitives/lightvisualelement%}) which is capable of displaying text and image.
44+
45+
46+
{{source=..\SamplesCS\GridView\GridTitle\GridTitle.cs region=Position}}
47+
{{source=..\SamplesVB\GridView\GridTitle\GridTitle.vb region=Position}}
48+
````C#
49+
radGridView1.TitlePosition = Telerik.WinControls.Layouts.Dock.Left;
50+
radGridView1.GridViewElement.TitleLabelElement.TextOrientation = Orientation.Vertical;
51+
radGridView1.GridViewElement.TitleLabelElement.FlipText = true;
52+
53+
````
54+
````VB.NET
55+
radGridView1.TitlePosition = Telerik.WinControls.Layouts.Dock.Left
56+
radGridView1.GridViewElement.TitleLabelElement.TextOrientation = Orientation.Vertical
57+
radGridView1.GridViewElement.TitleLabelElement.FlipText = True
58+
59+
````
60+
61+
{{endregion}}
62+
63+
64+
# See Also
65+
66+
* [Getting Started]({%slug winforms/gridview/getting-started%})
67+
68+
* [Overview]({%slug winforms/gridview%})

0 commit comments

Comments
 (0)