├── .gitattributes
├── .gitignore
├── sample_3_8.sln
└── sample_3_8
├── App.config
├── FluentMainForm.Designer.cs
├── FluentMainForm.cs
├── FluentMainForm.resx
├── GridUserControl.cs
├── GridUserControl.designer.cs
├── GridUserControl.resx
├── GridUserControlWithRibbon.cs
├── GridUserControlWithRibbon.designer.cs
├── GridUserControlWithRibbon.resx
├── MainFormWithRibbon.Designer.cs
├── MainFormWithRibbon.cs
├── MainFormWithRibbon.resx
├── MainFormWithTileNavPane.Designer.cs
├── MainFormWithTileNavPane.cs
├── MainFormWithTileNavPane.resx
├── Program.cs
├── Properties
├── AssemblyInfo.cs
├── Resources.Designer.cs
├── Resources.resx
├── Settings.Designer.cs
├── Settings.settings
└── licenses.licx
├── RichEditUserControl.cs
├── RichEditUserControl.designer.cs
├── RichEditUserControl.resx
├── RichEditUserControlWithRibbon.cs
├── RichEditUserControlWithRibbon.designer.cs
├── RichEditUserControlWithRibbon.resx
└── sample_3_8.csproj
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Oo]ut/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio LightSwitch build output
298 | **/*.HTMLClient/GeneratedArtifacts
299 | **/*.DesktopClient/GeneratedArtifacts
300 | **/*.DesktopClient/ModelManifest.xml
301 | **/*.Server/GeneratedArtifacts
302 | **/*.Server/ModelManifest.xml
303 | _Pvt_Extensions
304 |
305 | # Paket dependency manager
306 | .paket/paket.exe
307 | paket-files/
308 |
309 | # FAKE - F# Make
310 | .fake/
311 |
312 | # CodeRush personal settings
313 | .cr/personal
314 |
315 | # Python Tools for Visual Studio (PTVS)
316 | __pycache__/
317 | *.pyc
318 |
319 | # Cake - Uncomment if you are using it
320 | # tools/**
321 | # !tools/packages.config
322 |
323 | # Tabs Studio
324 | *.tss
325 |
326 | # Telerik's JustMock configuration file
327 | *.jmconfig
328 |
329 | # BizTalk build output
330 | *.btp.cs
331 | *.btm.cs
332 | *.odx.cs
333 | *.xsd.cs
334 |
335 | # OpenCover UI analysis results
336 | OpenCover/
337 |
338 | # Azure Stream Analytics local run output
339 | ASALocalRun/
340 |
341 | # MSBuild Binary and Structured Log
342 | *.binlog
343 |
344 | # NVidia Nsight GPU debugger configuration file
345 | *.nvuser
346 |
347 | # MFractors (Xamarin productivity tool) working folder
348 | .mfractor/
349 |
350 | # Local History for Visual Studio
351 | .localhistory/
352 |
353 | # BeatPulse healthcheck temp database
354 | healthchecksdb
355 |
356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
357 | MigrationBackup/
358 |
359 | # Ionide (cross platform F# VS Code tools) working folder
360 | .ionide/
361 |
362 | # Fody - auto-generated XML schema
363 | FodyWeavers.xsd
--------------------------------------------------------------------------------
/sample_3_8.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30204.135
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sample_3_8", "sample_3_8\sample_3_8.csproj", "{813823B3-87E8-41A2-BF69-9564BA59C21D}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {813823B3-87E8-41A2-BF69-9564BA59C21D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {813823B3-87E8-41A2-BF69-9564BA59C21D}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {813823B3-87E8-41A2-BF69-9564BA59C21D}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {813823B3-87E8-41A2-BF69-9564BA59C21D}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {0D594892-ED09-43DE-99D6-257015937A1B}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/sample_3_8/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | System
12 |
13 |
14 | True
15 |
16 |
17 | Skin/The Bezier
18 |
19 |
20 | Office Dark Gray
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/sample_3_8/FluentMainForm.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_3_8 {
2 | partial class FluentMainForm {
3 | ///
4 | /// Required designer variable.
5 | ///
6 | private System.ComponentModel.IContainer components = null;
7 |
8 | ///
9 | /// Clean up any resources being used.
10 | ///
11 | /// true if managed resources should be disposed; otherwise, false.
12 | protected override void Dispose(bool disposing) {
13 | if (disposing && (components != null)) {
14 | components.Dispose();
15 | }
16 | base.Dispose(disposing);
17 | }
18 |
19 | #region Windows Form Designer generated code
20 |
21 | ///
22 | /// Required method for Designer support - do not modify
23 | /// the contents of this method with the code editor.
24 | ///
25 | private void InitializeComponent() {
26 | this.components = new System.ComponentModel.Container();
27 | this.fluentDesignFormContainer1 = new DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormContainer();
28 | this.navigationFrame1 = new DevExpress.XtraBars.Navigation.NavigationFrame();
29 | this.gridPage = new DevExpress.XtraBars.Navigation.NavigationPage();
30 | this.richEditPage = new DevExpress.XtraBars.Navigation.NavigationPage();
31 | this.accordionControl1 = new DevExpress.XtraBars.Navigation.AccordionControl();
32 | this.accordionControlElement1 = new DevExpress.XtraBars.Navigation.AccordionControlElement();
33 | this.accordionControlElement2 = new DevExpress.XtraBars.Navigation.AccordionControlElement();
34 | this.fluentDesignFormControl1 = new DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl();
35 | this.fluentFormDefaultManager1 = new DevExpress.XtraBars.FluentDesignSystem.FluentFormDefaultManager(this.components);
36 | this.fluentDesignFormContainer1.SuspendLayout();
37 | ((System.ComponentModel.ISupportInitialize)(this.navigationFrame1)).BeginInit();
38 | this.navigationFrame1.SuspendLayout();
39 | ((System.ComponentModel.ISupportInitialize)(this.accordionControl1)).BeginInit();
40 | ((System.ComponentModel.ISupportInitialize)(this.fluentDesignFormControl1)).BeginInit();
41 | ((System.ComponentModel.ISupportInitialize)(this.fluentFormDefaultManager1)).BeginInit();
42 | this.SuspendLayout();
43 | //
44 | // fluentDesignFormContainer1
45 | //
46 | this.fluentDesignFormContainer1.Controls.Add(this.navigationFrame1);
47 | this.fluentDesignFormContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
48 | this.fluentDesignFormContainer1.Location = new System.Drawing.Point(260, 31);
49 | this.fluentDesignFormContainer1.Name = "fluentDesignFormContainer1";
50 | this.fluentDesignFormContainer1.Size = new System.Drawing.Size(472, 462);
51 | this.fluentDesignFormContainer1.TabIndex = 0;
52 | //
53 | // navigationFrame1
54 | //
55 | this.navigationFrame1.Controls.Add(this.gridPage);
56 | this.navigationFrame1.Controls.Add(this.richEditPage);
57 | this.navigationFrame1.Dock = System.Windows.Forms.DockStyle.Fill;
58 | this.navigationFrame1.Location = new System.Drawing.Point(0, 0);
59 | this.navigationFrame1.Name = "navigationFrame1";
60 | this.navigationFrame1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] {
61 | this.gridPage,
62 | this.richEditPage});
63 | this.navigationFrame1.SelectedPage = this.gridPage;
64 | this.navigationFrame1.Size = new System.Drawing.Size(472, 462);
65 | this.navigationFrame1.TabIndex = 0;
66 | this.navigationFrame1.Text = "navigationFrame1";
67 | this.navigationFrame1.QueryControl += new DevExpress.XtraBars.Navigation.QueryControlEventHandler(this.navigationFrame1_QueryControl);
68 | //
69 | // gridPage
70 | //
71 | this.gridPage.Name = "gridPage";
72 | this.gridPage.Size = new System.Drawing.Size(472, 462);
73 | //
74 | // richEditPage
75 | //
76 | this.richEditPage.Name = "richEditPage";
77 | this.richEditPage.Size = new System.Drawing.Size(472, 462);
78 | //
79 | // accordionControl1
80 | //
81 | this.accordionControl1.Dock = System.Windows.Forms.DockStyle.Left;
82 | this.accordionControl1.Elements.AddRange(new DevExpress.XtraBars.Navigation.AccordionControlElement[] {
83 | this.accordionControlElement1,
84 | this.accordionControlElement2});
85 | this.accordionControl1.Location = new System.Drawing.Point(0, 31);
86 | this.accordionControl1.Name = "accordionControl1";
87 | this.accordionControl1.ScrollBarMode = DevExpress.XtraBars.Navigation.ScrollBarMode.Touch;
88 | this.accordionControl1.Size = new System.Drawing.Size(260, 462);
89 | this.accordionControl1.TabIndex = 1;
90 | this.accordionControl1.ViewType = DevExpress.XtraBars.Navigation.AccordionControlViewType.HamburgerMenu;
91 | //
92 | // accordionControlElement1
93 | //
94 | this.accordionControlElement1.Name = "accordionControlElement1";
95 | this.accordionControlElement1.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item;
96 | this.accordionControlElement1.Text = "Grid";
97 | this.accordionControlElement1.Click += new System.EventHandler(this.accordionControlElement1_Click);
98 | //
99 | // accordionControlElement2
100 | //
101 | this.accordionControlElement2.Name = "accordionControlElement2";
102 | this.accordionControlElement2.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item;
103 | this.accordionControlElement2.Text = "Rich Edit";
104 | this.accordionControlElement2.Click += new System.EventHandler(this.accordionControlElement2_Click);
105 | //
106 | // fluentDesignFormControl1
107 | //
108 | this.fluentDesignFormControl1.FluentDesignForm = this;
109 | this.fluentDesignFormControl1.Location = new System.Drawing.Point(0, 0);
110 | this.fluentDesignFormControl1.Manager = this.fluentFormDefaultManager1;
111 | this.fluentDesignFormControl1.Name = "fluentDesignFormControl1";
112 | this.fluentDesignFormControl1.Size = new System.Drawing.Size(732, 31);
113 | this.fluentDesignFormControl1.TabIndex = 2;
114 | this.fluentDesignFormControl1.TabStop = false;
115 | //
116 | // fluentFormDefaultManager1
117 | //
118 | this.fluentFormDefaultManager1.DockingEnabled = false;
119 | this.fluentFormDefaultManager1.Form = this;
120 | //
121 | // FluentMainForm
122 | //
123 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
124 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
125 | this.ClientSize = new System.Drawing.Size(732, 493);
126 | this.ControlContainer = this.fluentDesignFormContainer1;
127 | this.Controls.Add(this.fluentDesignFormContainer1);
128 | this.Controls.Add(this.accordionControl1);
129 | this.Controls.Add(this.fluentDesignFormControl1);
130 | this.FluentDesignFormControl = this.fluentDesignFormControl1;
131 | this.Name = "FluentMainForm";
132 | this.NavigationControl = this.accordionControl1;
133 | this.Text = "FluentMainForm";
134 | this.fluentDesignFormContainer1.ResumeLayout(false);
135 | ((System.ComponentModel.ISupportInitialize)(this.navigationFrame1)).EndInit();
136 | this.navigationFrame1.ResumeLayout(false);
137 | ((System.ComponentModel.ISupportInitialize)(this.accordionControl1)).EndInit();
138 | ((System.ComponentModel.ISupportInitialize)(this.fluentDesignFormControl1)).EndInit();
139 | ((System.ComponentModel.ISupportInitialize)(this.fluentFormDefaultManager1)).EndInit();
140 | this.ResumeLayout(false);
141 |
142 | }
143 |
144 | #endregion
145 | private DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormContainer fluentDesignFormContainer1;
146 | private DevExpress.XtraBars.Navigation.AccordionControl accordionControl1;
147 | private DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl fluentDesignFormControl1;
148 | private DevExpress.XtraBars.Navigation.AccordionControlElement accordionControlElement1;
149 | private DevExpress.XtraBars.FluentDesignSystem.FluentFormDefaultManager fluentFormDefaultManager1;
150 | private DevExpress.XtraBars.Navigation.NavigationFrame navigationFrame1;
151 | private DevExpress.XtraBars.Navigation.NavigationPage gridPage;
152 | private DevExpress.XtraBars.Navigation.NavigationPage richEditPage;
153 | private DevExpress.XtraBars.Navigation.AccordionControlElement accordionControlElement2;
154 | }
155 | }
--------------------------------------------------------------------------------
/sample_3_8/FluentMainForm.cs:
--------------------------------------------------------------------------------
1 | using DevExpress.XtraBars;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.ComponentModel;
5 | using System.Data;
6 | using System.Drawing;
7 | using System.Linq;
8 | using System.Text;
9 | using System.Windows.Forms;
10 |
11 | namespace sample_3_8 {
12 | public partial class FluentMainForm : DevExpress.XtraBars.FluentDesignSystem.FluentDesignForm {
13 | public FluentMainForm() {
14 | InitializeComponent();
15 | }
16 |
17 | private void accordionControlElement1_Click(object sender, EventArgs e) {
18 | navigationFrame1.SelectedPage = gridPage;
19 | }
20 |
21 | private void accordionControlElement2_Click(object sender, EventArgs e) {
22 | navigationFrame1.SelectedPage = richEditPage;
23 | }
24 |
25 | private void navigationFrame1_QueryControl(object sender, DevExpress.XtraBars.Navigation.QueryControlEventArgs e) {
26 | if (e.Page == gridPage)
27 | e.Control = new GridUserControl();
28 | else if (e.Page == richEditPage)
29 | e.Control = new RichEditUserControl();
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/sample_3_8/FluentMainForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
--------------------------------------------------------------------------------
/sample_3_8/GridUserControl.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace sample_3_8 {
12 | public partial class GridUserControl : DevExpress.XtraEditors.XtraUserControl {
13 | public GridUserControl() {
14 | InitializeComponent();
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/sample_3_8/GridUserControl.designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_3_8 {
2 | partial class GridUserControl {
3 | ///
4 | /// Required designer variable.
5 | ///
6 | private System.ComponentModel.IContainer components = null;
7 |
8 | ///
9 | /// Clean up any resources being used.
10 | ///
11 | /// true if managed resources should be disposed; otherwise, false.
12 | protected override void Dispose(bool disposing) {
13 | if (disposing && (components != null)) {
14 | components.Dispose();
15 | }
16 | base.Dispose(disposing);
17 | }
18 |
19 | #region Component Designer generated code
20 |
21 | ///
22 | /// Required method for Designer support - do not modify
23 | /// the contents of this method with the code editor.
24 | ///
25 | private void InitializeComponent() {
26 | this.gridControl1 = new DevExpress.XtraGrid.GridControl();
27 | this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
28 | this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
29 | this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
30 | this.textEdit3 = new DevExpress.XtraEditors.TextEdit();
31 | this.textEdit4 = new DevExpress.XtraEditors.TextEdit();
32 | this.tablePanel1 = new DevExpress.Utils.Layout.TablePanel();
33 | ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
34 | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
35 | ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
36 | ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
37 | ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).BeginInit();
38 | ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).BeginInit();
39 | ((System.ComponentModel.ISupportInitialize)(this.tablePanel1)).BeginInit();
40 | this.tablePanel1.SuspendLayout();
41 | this.SuspendLayout();
42 | //
43 | // gridControl1
44 | //
45 | this.tablePanel1.SetColumn(this.gridControl1, 0);
46 | this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
47 | this.gridControl1.Location = new System.Drawing.Point(13, 13);
48 | this.gridControl1.MainView = this.gridView1;
49 | this.gridControl1.Name = "gridControl1";
50 | this.tablePanel1.SetRow(this.gridControl1, 0);
51 | this.tablePanel1.SetRowSpan(this.gridControl1, 5);
52 | this.gridControl1.Size = new System.Drawing.Size(373, 370);
53 | this.gridControl1.TabIndex = 0;
54 | this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
55 | this.gridView1});
56 | //
57 | // gridView1
58 | //
59 | this.gridView1.GridControl = this.gridControl1;
60 | this.gridView1.Name = "gridView1";
61 | //
62 | // textEdit1
63 | //
64 | this.tablePanel1.SetColumn(this.textEdit1, 1);
65 | this.textEdit1.Location = new System.Drawing.Point(392, 91);
66 | this.textEdit1.Name = "textEdit1";
67 | this.tablePanel1.SetRow(this.textEdit1, 3);
68 | this.textEdit1.Size = new System.Drawing.Size(194, 20);
69 | this.textEdit1.TabIndex = 1;
70 | //
71 | // textEdit2
72 | //
73 | this.tablePanel1.SetColumn(this.textEdit2, 1);
74 | this.textEdit2.Location = new System.Drawing.Point(392, 65);
75 | this.textEdit2.Name = "textEdit2";
76 | this.tablePanel1.SetRow(this.textEdit2, 2);
77 | this.textEdit2.Size = new System.Drawing.Size(194, 20);
78 | this.textEdit2.TabIndex = 2;
79 | //
80 | // textEdit3
81 | //
82 | this.tablePanel1.SetColumn(this.textEdit3, 1);
83 | this.textEdit3.Location = new System.Drawing.Point(392, 13);
84 | this.textEdit3.Name = "textEdit3";
85 | this.tablePanel1.SetRow(this.textEdit3, 0);
86 | this.textEdit3.Size = new System.Drawing.Size(194, 20);
87 | this.textEdit3.TabIndex = 3;
88 | //
89 | // textEdit4
90 | //
91 | this.tablePanel1.SetColumn(this.textEdit4, 1);
92 | this.textEdit4.Location = new System.Drawing.Point(392, 39);
93 | this.textEdit4.Name = "textEdit4";
94 | this.tablePanel1.SetRow(this.textEdit4, 1);
95 | this.textEdit4.Size = new System.Drawing.Size(194, 20);
96 | this.textEdit4.TabIndex = 4;
97 | //
98 | // tablePanel1
99 | //
100 | this.tablePanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
101 | this.tablePanel1.Columns.AddRange(new DevExpress.Utils.Layout.TablePanelColumn[] {
102 | new DevExpress.Utils.Layout.TablePanelColumn(DevExpress.Utils.Layout.TablePanelEntityStyle.Relative, 47.23F),
103 | new DevExpress.Utils.Layout.TablePanelColumn(DevExpress.Utils.Layout.TablePanelEntityStyle.Absolute, 200F)});
104 | this.tablePanel1.Controls.Add(this.textEdit1);
105 | this.tablePanel1.Controls.Add(this.textEdit2);
106 | this.tablePanel1.Controls.Add(this.textEdit4);
107 | this.tablePanel1.Controls.Add(this.textEdit3);
108 | this.tablePanel1.Controls.Add(this.gridControl1);
109 | this.tablePanel1.Dock = System.Windows.Forms.DockStyle.Fill;
110 | this.tablePanel1.Location = new System.Drawing.Point(0, 0);
111 | this.tablePanel1.Name = "tablePanel1";
112 | this.tablePanel1.Padding = new System.Windows.Forms.Padding(10);
113 | this.tablePanel1.Rows.AddRange(new DevExpress.Utils.Layout.TablePanelRow[] {
114 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 233F),
115 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 26F),
116 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 26F),
117 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 26F),
118 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.Absolute, 26F)});
119 | this.tablePanel1.Size = new System.Drawing.Size(599, 396);
120 | this.tablePanel1.TabIndex = 6;
121 | //
122 | // GridUserControl
123 | //
124 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
125 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
126 | this.Controls.Add(this.tablePanel1);
127 | this.Name = "GridUserControl";
128 | this.Size = new System.Drawing.Size(599, 396);
129 | ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
130 | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
131 | ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
132 | ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
133 | ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).EndInit();
134 | ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).EndInit();
135 | ((System.ComponentModel.ISupportInitialize)(this.tablePanel1)).EndInit();
136 | this.tablePanel1.ResumeLayout(false);
137 | this.ResumeLayout(false);
138 |
139 | }
140 |
141 | #endregion
142 |
143 | private DevExpress.XtraGrid.GridControl gridControl1;
144 | private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
145 | private DevExpress.XtraEditors.TextEdit textEdit1;
146 | private DevExpress.XtraEditors.TextEdit textEdit2;
147 | private DevExpress.XtraEditors.TextEdit textEdit3;
148 | private DevExpress.XtraEditors.TextEdit textEdit4;
149 | private DevExpress.Utils.Layout.TablePanel tablePanel1;
150 | }
151 | }
152 |
--------------------------------------------------------------------------------
/sample_3_8/GridUserControl.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/sample_3_8/GridUserControlWithRibbon.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace sample_3_8 {
12 | public partial class GridUserControlWithRibbon : DevExpress.XtraEditors.XtraUserControl {
13 | public GridUserControlWithRibbon() {
14 | InitializeComponent();
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/sample_3_8/GridUserControlWithRibbon.designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_3_8 {
2 | partial class GridUserControlWithRibbon {
3 | ///
4 | /// Required designer variable.
5 | ///
6 | private System.ComponentModel.IContainer components = null;
7 |
8 | ///
9 | /// Clean up any resources being used.
10 | ///
11 | /// true if managed resources should be disposed; otherwise, false.
12 | protected override void Dispose(bool disposing) {
13 | if (disposing && (components != null)) {
14 | components.Dispose();
15 | }
16 | base.Dispose(disposing);
17 | }
18 |
19 | #region Component Designer generated code
20 |
21 | ///
22 | /// Required method for Designer support - do not modify
23 | /// the contents of this method with the code editor.
24 | ///
25 | private void InitializeComponent() {
26 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GridUserControlWithRibbon));
27 | this.gridControl1 = new DevExpress.XtraGrid.GridControl();
28 | this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
29 | this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
30 | this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
31 | this.textEdit3 = new DevExpress.XtraEditors.TextEdit();
32 | this.textEdit4 = new DevExpress.XtraEditors.TextEdit();
33 | this.tablePanel1 = new DevExpress.Utils.Layout.TablePanel();
34 | this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
35 | this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
36 | this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
37 | this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
38 | ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
39 | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
40 | ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
41 | ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
42 | ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).BeginInit();
43 | ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).BeginInit();
44 | ((System.ComponentModel.ISupportInitialize)(this.tablePanel1)).BeginInit();
45 | this.tablePanel1.SuspendLayout();
46 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
47 | this.SuspendLayout();
48 | //
49 | // gridControl1
50 | //
51 | this.tablePanel1.SetColumn(this.gridControl1, 0);
52 | this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
53 | this.gridControl1.Location = new System.Drawing.Point(13, 13);
54 | this.gridControl1.MainView = this.gridView1;
55 | this.gridControl1.Name = "gridControl1";
56 | this.tablePanel1.SetRow(this.gridControl1, 0);
57 | this.tablePanel1.SetRowSpan(this.gridControl1, 5);
58 | this.gridControl1.Size = new System.Drawing.Size(373, 220);
59 | this.gridControl1.TabIndex = 0;
60 | this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
61 | this.gridView1});
62 | //
63 | // gridView1
64 | //
65 | this.gridView1.GridControl = this.gridControl1;
66 | this.gridView1.Name = "gridView1";
67 | //
68 | // textEdit1
69 | //
70 | this.tablePanel1.SetColumn(this.textEdit1, 1);
71 | this.textEdit1.Location = new System.Drawing.Point(392, 91);
72 | this.textEdit1.Name = "textEdit1";
73 | this.tablePanel1.SetRow(this.textEdit1, 3);
74 | this.textEdit1.Size = new System.Drawing.Size(194, 20);
75 | this.textEdit1.TabIndex = 1;
76 | //
77 | // textEdit2
78 | //
79 | this.tablePanel1.SetColumn(this.textEdit2, 1);
80 | this.textEdit2.Location = new System.Drawing.Point(392, 65);
81 | this.textEdit2.Name = "textEdit2";
82 | this.tablePanel1.SetRow(this.textEdit2, 2);
83 | this.textEdit2.Size = new System.Drawing.Size(194, 20);
84 | this.textEdit2.TabIndex = 2;
85 | //
86 | // textEdit3
87 | //
88 | this.tablePanel1.SetColumn(this.textEdit3, 1);
89 | this.textEdit3.Location = new System.Drawing.Point(392, 13);
90 | this.textEdit3.Name = "textEdit3";
91 | this.tablePanel1.SetRow(this.textEdit3, 0);
92 | this.textEdit3.Size = new System.Drawing.Size(194, 20);
93 | this.textEdit3.TabIndex = 3;
94 | //
95 | // textEdit4
96 | //
97 | this.tablePanel1.SetColumn(this.textEdit4, 1);
98 | this.textEdit4.Location = new System.Drawing.Point(392, 39);
99 | this.textEdit4.Name = "textEdit4";
100 | this.tablePanel1.SetRow(this.textEdit4, 1);
101 | this.textEdit4.Size = new System.Drawing.Size(194, 20);
102 | this.textEdit4.TabIndex = 4;
103 | //
104 | // tablePanel1
105 | //
106 | this.tablePanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
107 | this.tablePanel1.Columns.AddRange(new DevExpress.Utils.Layout.TablePanelColumn[] {
108 | new DevExpress.Utils.Layout.TablePanelColumn(DevExpress.Utils.Layout.TablePanelEntityStyle.Relative, 47.23F),
109 | new DevExpress.Utils.Layout.TablePanelColumn(DevExpress.Utils.Layout.TablePanelEntityStyle.Absolute, 200F)});
110 | this.tablePanel1.Controls.Add(this.textEdit1);
111 | this.tablePanel1.Controls.Add(this.textEdit2);
112 | this.tablePanel1.Controls.Add(this.textEdit4);
113 | this.tablePanel1.Controls.Add(this.textEdit3);
114 | this.tablePanel1.Controls.Add(this.gridControl1);
115 | this.tablePanel1.Dock = System.Windows.Forms.DockStyle.Fill;
116 | this.tablePanel1.Location = new System.Drawing.Point(0, 150);
117 | this.tablePanel1.Name = "tablePanel1";
118 | this.tablePanel1.Padding = new System.Windows.Forms.Padding(10);
119 | this.tablePanel1.Rows.AddRange(new DevExpress.Utils.Layout.TablePanelRow[] {
120 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 233F),
121 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 26F),
122 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 26F),
123 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 26F),
124 | new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.Absolute, 26F)});
125 | this.tablePanel1.Size = new System.Drawing.Size(599, 246);
126 | this.tablePanel1.TabIndex = 6;
127 | //
128 | // ribbonControl1
129 | //
130 | this.ribbonControl1.ExpandCollapseItem.Id = 0;
131 | this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
132 | this.ribbonControl1.SearchEditItem,
133 | this.ribbonControl1.ExpandCollapseItem,
134 | this.barButtonItem1});
135 | this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
136 | this.ribbonControl1.MaxItemId = 2;
137 | this.ribbonControl1.Name = "ribbonControl1";
138 | this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
139 | this.ribbonPage1});
140 | this.ribbonControl1.Size = new System.Drawing.Size(599, 150);
141 | //
142 | // ribbonPage1
143 | //
144 | this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
145 | this.ribbonPageGroup1});
146 | this.ribbonPage1.Name = "ribbonPage1";
147 | this.ribbonPage1.Text = "Main";
148 | //
149 | // ribbonPageGroup1
150 | //
151 | this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1);
152 | this.ribbonPageGroup1.Name = "ribbonPageGroup1";
153 | this.ribbonPageGroup1.Text = "Tools";
154 | //
155 | // barButtonItem1
156 | //
157 | this.barButtonItem1.Caption = "Grid Feature";
158 | this.barButtonItem1.Id = 1;
159 | this.barButtonItem1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItem1.ImageOptions.SvgImage")));
160 | this.barButtonItem1.Name = "barButtonItem1";
161 | //
162 | // GridUserControlWithRibbon
163 | //
164 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
165 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
166 | this.Controls.Add(this.tablePanel1);
167 | this.Controls.Add(this.ribbonControl1);
168 | this.Name = "GridUserControlWithRibbon";
169 | this.Size = new System.Drawing.Size(599, 396);
170 | ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
171 | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
172 | ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
173 | ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
174 | ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).EndInit();
175 | ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).EndInit();
176 | ((System.ComponentModel.ISupportInitialize)(this.tablePanel1)).EndInit();
177 | this.tablePanel1.ResumeLayout(false);
178 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
179 | this.ResumeLayout(false);
180 | this.PerformLayout();
181 |
182 | }
183 |
184 | #endregion
185 |
186 | private DevExpress.XtraGrid.GridControl gridControl1;
187 | private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
188 | private DevExpress.XtraEditors.TextEdit textEdit1;
189 | private DevExpress.XtraEditors.TextEdit textEdit2;
190 | private DevExpress.XtraEditors.TextEdit textEdit3;
191 | private DevExpress.XtraEditors.TextEdit textEdit4;
192 | private DevExpress.Utils.Layout.TablePanel tablePanel1;
193 | private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1;
194 | private DevExpress.XtraBars.BarButtonItem barButtonItem1;
195 | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
196 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
197 | }
198 | }
199 |
--------------------------------------------------------------------------------
/sample_3_8/GridUserControlWithRibbon.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjEsIFZlcnNpb249MjAuMS4z
124 | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
125 | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAABkDAAAC77u/
126 | PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
127 | IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
128 | MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
129 | Y2U9InByZXNlcnZlIiBpZD0iVmlld1RhYmxlR3JpZGxpbmVzIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91
130 | bmQ6bmV3IDAgMCAzMiAzMiI+DQogIDxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+CgkuQmxhY2t7ZmlsbDoj
131 | NzI3MjcyO30KPC9zdHlsZT4NCiAgPGc+DQogICAgPHBhdGggZD0iTTgsMTBINnYyaDJWMTB6IE0xNiwx
132 | MGgtMnYyaDJWMTB6IE0yNCwxMGgtMnYyaDJWMTB6IE04LDE4SDZ2MmgyVjE4eiBNMTYsMThoLTJ2Mmgy
133 | VjE4eiBNMjQsMThoLTJ2MmgyVjE4eiAgICBNMTIsNmgtMnYyaDJWNnogTTEyLDEwaC0ydjJoMlYxMHog
134 | TTEyLDE0aC0ydjJoMlYxNHogTTEyLDE4aC0ydjJoMlYxOHogTTEyLDIyaC0ydjJoMlYyMnogTTIwLDZo
135 | LTJ2MmgyVjZ6IE0yMCwxMGgtMnYyaDJWMTB6ICAgIE0yMCwxNGgtMnYyaDJWMTR6IE0yMCwxOGgtMnYy
136 | aDJWMTh6IE0yMCwyMmgtMnYyaDJWMjJ6IiBjbGFzcz0iQmxhY2siIC8+DQogIDwvZz4NCiAgPHBhdGgg
137 | ZD0iTTI3LDJIM0MyLjUsMiwyLDIuNSwyLDN2MjRjMCwwLjUsMC41LDEsMSwxaDI0YzAuNSwwLDEtMC41
138 | LDEtMVYzQzI4LDIuNSwyNy41LDIsMjcsMnogTTI2LDI2SDRWNGgyMlYyNnoiIGNsYXNzPSJCbGFjayIg
139 | Lz4NCjwvc3ZnPgs=
140 |
141 |
142 |
--------------------------------------------------------------------------------
/sample_3_8/MainFormWithRibbon.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_3_8 {
2 | partial class MainFormWithRibbon {
3 | ///
4 | /// Required designer variable.
5 | ///
6 | private System.ComponentModel.IContainer components = null;
7 |
8 | ///
9 | /// Clean up any resources being used.
10 | ///
11 | /// true if managed resources should be disposed; otherwise, false.
12 | protected override void Dispose(bool disposing) {
13 | if (disposing && (components != null)) {
14 | components.Dispose();
15 | }
16 | base.Dispose(disposing);
17 | }
18 |
19 | #region Windows Form Designer generated code
20 |
21 | ///
22 | /// Required method for Designer support - do not modify
23 | /// the contents of this method with the code editor.
24 | ///
25 | private void InitializeComponent() {
26 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainFormWithRibbon));
27 | this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
28 | this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
29 | this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
30 | this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
31 | this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
32 | this.ribbonPage2 = new DevExpress.XtraBars.Ribbon.RibbonPage();
33 | this.accordionControl1 = new DevExpress.XtraBars.Navigation.AccordionControl();
34 | this.accordionControlElement1 = new DevExpress.XtraBars.Navigation.AccordionControlElement();
35 | this.accordionControlElement2 = new DevExpress.XtraBars.Navigation.AccordionControlElement();
36 | this.navigationFrame1 = new DevExpress.XtraBars.Navigation.NavigationFrame();
37 | this.gridPage = new DevExpress.XtraBars.Navigation.NavigationPage();
38 | this.richEditPage = new DevExpress.XtraBars.Navigation.NavigationPage();
39 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
40 | ((System.ComponentModel.ISupportInitialize)(this.accordionControl1)).BeginInit();
41 | ((System.ComponentModel.ISupportInitialize)(this.navigationFrame1)).BeginInit();
42 | this.navigationFrame1.SuspendLayout();
43 | this.SuspendLayout();
44 | //
45 | // ribbonControl1
46 | //
47 | this.ribbonControl1.ExpandCollapseItem.Id = 0;
48 | this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
49 | this.ribbonControl1.ExpandCollapseItem,
50 | this.ribbonControl1.SearchEditItem,
51 | this.barButtonItem1});
52 | this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
53 | this.ribbonControl1.MaxItemId = 2;
54 | this.ribbonControl1.MdiMergeStyle = DevExpress.XtraBars.Ribbon.RibbonMdiMergeStyle.Always;
55 | this.ribbonControl1.Name = "ribbonControl1";
56 | this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
57 | this.ribbonPage1});
58 | this.ribbonControl1.Size = new System.Drawing.Size(874, 162);
59 | this.ribbonControl1.StatusBar = this.ribbonStatusBar1;
60 | //
61 | // barButtonItem1
62 | //
63 | this.barButtonItem1.Caption = "Main Form Feature";
64 | this.barButtonItem1.Id = 1;
65 | this.barButtonItem1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItem1.ImageOptions.SvgImage")));
66 | this.barButtonItem1.Name = "barButtonItem1";
67 | //
68 | // ribbonPage1
69 | //
70 | this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
71 | this.ribbonPageGroup1});
72 | this.ribbonPage1.Name = "ribbonPage1";
73 | this.ribbonPage1.Text = "Main";
74 | //
75 | // ribbonPageGroup1
76 | //
77 | this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1);
78 | this.ribbonPageGroup1.Name = "ribbonPageGroup1";
79 | this.ribbonPageGroup1.Text = "Tools";
80 | //
81 | // ribbonStatusBar1
82 | //
83 | this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 614);
84 | this.ribbonStatusBar1.Name = "ribbonStatusBar1";
85 | this.ribbonStatusBar1.Ribbon = this.ribbonControl1;
86 | this.ribbonStatusBar1.Size = new System.Drawing.Size(874, 22);
87 | //
88 | // ribbonPage2
89 | //
90 | this.ribbonPage2.Name = "ribbonPage2";
91 | this.ribbonPage2.Text = "ribbonPage2";
92 | //
93 | // accordionControl1
94 | //
95 | this.accordionControl1.Dock = System.Windows.Forms.DockStyle.Left;
96 | this.accordionControl1.Elements.AddRange(new DevExpress.XtraBars.Navigation.AccordionControlElement[] {
97 | this.accordionControlElement1,
98 | this.accordionControlElement2});
99 | this.accordionControl1.Location = new System.Drawing.Point(0, 162);
100 | this.accordionControl1.Name = "accordionControl1";
101 | this.accordionControl1.ScrollBarMode = DevExpress.XtraBars.Navigation.ScrollBarMode.Touch;
102 | this.accordionControl1.Size = new System.Drawing.Size(209, 452);
103 | this.accordionControl1.TabIndex = 2;
104 | this.accordionControl1.Text = "accordionControl1";
105 | this.accordionControl1.ViewType = DevExpress.XtraBars.Navigation.AccordionControlViewType.HamburgerMenu;
106 | //
107 | // accordionControlElement1
108 | //
109 | this.accordionControlElement1.Name = "accordionControlElement1";
110 | this.accordionControlElement1.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item;
111 | this.accordionControlElement1.Text = "Grid";
112 | this.accordionControlElement1.Click += new System.EventHandler(this.accordionControlElement1_Click);
113 | //
114 | // accordionControlElement2
115 | //
116 | this.accordionControlElement2.Name = "accordionControlElement2";
117 | this.accordionControlElement2.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item;
118 | this.accordionControlElement2.Text = "Rich Edit";
119 | this.accordionControlElement2.Click += new System.EventHandler(this.accordionControlElement2_Click);
120 | //
121 | // navigationFrame1
122 | //
123 | this.navigationFrame1.Controls.Add(this.gridPage);
124 | this.navigationFrame1.Controls.Add(this.richEditPage);
125 | this.navigationFrame1.Dock = System.Windows.Forms.DockStyle.Fill;
126 | this.navigationFrame1.Location = new System.Drawing.Point(209, 162);
127 | this.navigationFrame1.Name = "navigationFrame1";
128 | this.navigationFrame1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] {
129 | this.gridPage,
130 | this.richEditPage});
131 | this.navigationFrame1.RibbonAndBarsMergeStyle = DevExpress.XtraBars.Docking2010.Views.RibbonAndBarsMergeStyle.Always;
132 | this.navigationFrame1.SelectedPage = this.gridPage;
133 | this.navigationFrame1.Size = new System.Drawing.Size(665, 452);
134 | this.navigationFrame1.TabIndex = 3;
135 | this.navigationFrame1.Text = "navigationFrame1";
136 | this.navigationFrame1.QueryControl += new DevExpress.XtraBars.Navigation.QueryControlEventHandler(this.navigationFrame1_QueryControl);
137 | //
138 | // gridPage
139 | //
140 | this.gridPage.Name = "gridPage";
141 | this.gridPage.Size = new System.Drawing.Size(665, 452);
142 | //
143 | // richEditPage
144 | //
145 | this.richEditPage.Name = "richEditPage";
146 | this.richEditPage.Size = new System.Drawing.Size(665, 452);
147 | //
148 | // MainFormWithRibbon
149 | //
150 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
151 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
152 | this.ClientSize = new System.Drawing.Size(874, 636);
153 | this.Controls.Add(this.navigationFrame1);
154 | this.Controls.Add(this.accordionControl1);
155 | this.Controls.Add(this.ribbonStatusBar1);
156 | this.Controls.Add(this.ribbonControl1);
157 | this.Name = "MainFormWithRibbon";
158 | this.Ribbon = this.ribbonControl1;
159 | this.StatusBar = this.ribbonStatusBar1;
160 | this.Text = "MainFormWithRibbon";
161 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
162 | ((System.ComponentModel.ISupportInitialize)(this.accordionControl1)).EndInit();
163 | ((System.ComponentModel.ISupportInitialize)(this.navigationFrame1)).EndInit();
164 | this.navigationFrame1.ResumeLayout(false);
165 | this.ResumeLayout(false);
166 | this.PerformLayout();
167 |
168 | }
169 |
170 | #endregion
171 |
172 | private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1;
173 | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
174 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
175 | private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar1;
176 | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage2;
177 | private DevExpress.XtraBars.BarButtonItem barButtonItem1;
178 | private DevExpress.XtraBars.Navigation.AccordionControl accordionControl1;
179 | private DevExpress.XtraBars.Navigation.AccordionControlElement accordionControlElement1;
180 | private DevExpress.XtraBars.Navigation.AccordionControlElement accordionControlElement2;
181 | private DevExpress.XtraBars.Navigation.NavigationFrame navigationFrame1;
182 | private DevExpress.XtraBars.Navigation.NavigationPage gridPage;
183 | private DevExpress.XtraBars.Navigation.NavigationPage richEditPage;
184 | }
185 | }
--------------------------------------------------------------------------------
/sample_3_8/MainFormWithRibbon.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Linq;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 | using DevExpress.XtraEditors;
11 |
12 | namespace sample_3_8 {
13 | public partial class MainFormWithRibbon : DevExpress.XtraBars.Ribbon.RibbonForm {
14 | public MainFormWithRibbon() {
15 | InitializeComponent();
16 | }
17 |
18 | private void accordionControlElement1_Click(object sender, EventArgs e) {
19 | navigationFrame1.SelectedPage = gridPage;
20 | }
21 |
22 | private void accordionControlElement2_Click(object sender, EventArgs e) {
23 | navigationFrame1.SelectedPage = richEditPage;
24 | }
25 |
26 | private void navigationFrame1_QueryControl(object sender, DevExpress.XtraBars.Navigation.QueryControlEventArgs e) {
27 | if (e.Page == gridPage)
28 | e.Control = new GridUserControlWithRibbon();
29 | else if (e.Page == richEditPage)
30 | e.Control = new RichEditUserControlWithRibbon();
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/sample_3_8/MainFormWithRibbon.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjEsIFZlcnNpb249MjAuMS4z
124 | LjAsIEN1bH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y43YzEuMywwLjQsMi42
137 | LDAuNSw0LDAuNWwxLjcsNC4ybDQuMy0xLjNsLTAuOC00LjQgICAgYzEuMi0wLjcsMi4yLTEuNSwzLjEt
138 | Mi41bDQuMiwxLjdsMi0zLjZsLTMuNy0yLjZDMjcuNywxOCwyNy45LDE2LjcsMjcuOCwxNS4zeiBNMjQu
139 | NCwxNmMwLDQuNy0zLjgsOC40LTguNCw4LjRTNy42LDIwLjcsNy42LDE2ICAgIHMzLjgtOC40LDguNC04
140 | LjRTMjQuNCwxMS4zLDI0LjQsMTZ6IiBjbGFzcz0iQmxhY2siIC8+DQogICAgPC9nPg0KICA8L2c+DQo8
141 | L3N2Zz4L
142 |
143 |
144 |
--------------------------------------------------------------------------------
/sample_3_8/MainFormWithTileNavPane.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_3_8 {
2 | partial class MainFormWithTileNavPane {
3 | ///
4 | /// Required designer variable.
5 | ///
6 | private System.ComponentModel.IContainer components = null;
7 |
8 | ///
9 | /// Clean up any resources being used.
10 | ///
11 | /// true if managed resources should be disposed; otherwise, false.
12 | protected override void Dispose(bool disposing) {
13 | if (disposing && (components != null)) {
14 | components.Dispose();
15 | }
16 | base.Dispose(disposing);
17 | }
18 |
19 | #region Windows Form Designer generated code
20 |
21 | ///
22 | /// Required method for Designer support - do not modify
23 | /// the contents of this method with the code editor.
24 | ///
25 | private void InitializeComponent() {
26 | DevExpress.XtraEditors.TileItemElement tileItemElement4 = new DevExpress.XtraEditors.TileItemElement();
27 | DevExpress.XtraEditors.TileItemElement tileItemElement3 = new DevExpress.XtraEditors.TileItemElement();
28 | DevExpress.XtraEditors.TileItemElement tileItemElement1 = new DevExpress.XtraEditors.TileItemElement();
29 | DevExpress.XtraEditors.TileItemElement tileItemElement2 = new DevExpress.XtraEditors.TileItemElement();
30 | DevExpress.XtraEditors.TileItemElement tileItemElement11 = new DevExpress.XtraEditors.TileItemElement();
31 | DevExpress.XtraEditors.TileItemElement tileItemElement5 = new DevExpress.XtraEditors.TileItemElement();
32 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainFormWithTileNavPane));
33 | DevExpress.XtraEditors.TileItemElement tileItemElement6 = new DevExpress.XtraEditors.TileItemElement();
34 | DevExpress.XtraEditors.TileItemElement tileItemElement10 = new DevExpress.XtraEditors.TileItemElement();
35 | DevExpress.XtraEditors.TileItemElement tileItemElement7 = new DevExpress.XtraEditors.TileItemElement();
36 | DevExpress.XtraEditors.TileItemElement tileItemElement8 = new DevExpress.XtraEditors.TileItemElement();
37 | DevExpress.XtraEditors.TileItemElement tileItemElement9 = new DevExpress.XtraEditors.TileItemElement();
38 | this.navigationFrame1 = new DevExpress.XtraBars.Navigation.NavigationFrame();
39 | this.gridPage = new DevExpress.XtraBars.Navigation.NavigationPage();
40 | this.richEditPage = new DevExpress.XtraBars.Navigation.NavigationPage();
41 | this.tileNavPane1 = new DevExpress.XtraBars.Navigation.TileNavPane();
42 | this.navButton2 = new DevExpress.XtraBars.Navigation.NavButton();
43 | this.navButton3 = new DevExpress.XtraBars.Navigation.NavButton();
44 | this.tileNavCategory3 = new DevExpress.XtraBars.Navigation.TileNavCategory();
45 | this.tileNavItem2 = new DevExpress.XtraBars.Navigation.TileNavItem();
46 | this.tileNavSubItem4 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
47 | this.tileNavSubItem5 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
48 | this.tileNavCategory4 = new DevExpress.XtraBars.Navigation.TileNavCategory();
49 | this.gridItem = new DevExpress.XtraBars.Navigation.TileNavItem();
50 | this.richEditItem = new DevExpress.XtraBars.Navigation.TileNavItem();
51 | this.tileNavItem3 = new DevExpress.XtraBars.Navigation.TileNavItem();
52 | this.tileNavSubItem1 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
53 | this.tileNavSubItem2 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
54 | this.tileNavSubItem3 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
55 | ((System.ComponentModel.ISupportInitialize)(this.navigationFrame1)).BeginInit();
56 | this.navigationFrame1.SuspendLayout();
57 | ((System.ComponentModel.ISupportInitialize)(this.tileNavPane1)).BeginInit();
58 | this.SuspendLayout();
59 | //
60 | // navigationFrame1
61 | //
62 | this.navigationFrame1.Controls.Add(this.gridPage);
63 | this.navigationFrame1.Controls.Add(this.richEditPage);
64 | this.navigationFrame1.Dock = System.Windows.Forms.DockStyle.Fill;
65 | this.navigationFrame1.Location = new System.Drawing.Point(0, 40);
66 | this.navigationFrame1.Name = "navigationFrame1";
67 | this.navigationFrame1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] {
68 | this.gridPage,
69 | this.richEditPage});
70 | this.navigationFrame1.SelectedPage = this.gridPage;
71 | this.navigationFrame1.Size = new System.Drawing.Size(722, 463);
72 | this.navigationFrame1.TabIndex = 0;
73 | this.navigationFrame1.Text = "navigationFrame1";
74 | this.navigationFrame1.QueryControl += new DevExpress.XtraBars.Navigation.QueryControlEventHandler(this.navigationFrame1_QueryControl);
75 | //
76 | // gridPage
77 | //
78 | this.gridPage.Caption = "gridPage";
79 | this.gridPage.Name = "gridPage";
80 | this.gridPage.Size = new System.Drawing.Size(722, 463);
81 | //
82 | // richEditPage
83 | //
84 | this.richEditPage.Caption = "richEditPage";
85 | this.richEditPage.Name = "richEditPage";
86 | this.richEditPage.Size = new System.Drawing.Size(722, 463);
87 | //
88 | // tileNavPane1
89 | //
90 | this.tileNavPane1.AllowGlyphSkinning = true;
91 | this.tileNavPane1.Buttons.Add(this.navButton2);
92 | this.tileNavPane1.Buttons.Add(this.navButton3);
93 | this.tileNavPane1.Buttons.Add(this.tileNavCategory3);
94 | this.tileNavPane1.Categories.AddRange(new DevExpress.XtraBars.Navigation.TileNavCategory[] {
95 | this.tileNavCategory4});
96 | this.tileNavPane1.ContinuousNavigation = true;
97 | //
98 | // tileNavCategory1
99 | //
100 | this.tileNavPane1.DefaultCategory.Name = "tileNavCategory1";
101 | //
102 | //
103 | //
104 | this.tileNavPane1.DefaultCategory.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
105 | this.tileNavPane1.Dock = System.Windows.Forms.DockStyle.Top;
106 | this.tileNavPane1.Location = new System.Drawing.Point(0, 0);
107 | this.tileNavPane1.Name = "tileNavPane1";
108 | this.tileNavPane1.Size = new System.Drawing.Size(722, 40);
109 | this.tileNavPane1.TabIndex = 2;
110 | this.tileNavPane1.Text = "tileNavPane1";
111 | //
112 | // navButton2
113 | //
114 | this.navButton2.Caption = "Main Menu";
115 | this.navButton2.IsMain = true;
116 | this.navButton2.Name = "navButton2";
117 | //
118 | // navButton3
119 | //
120 | this.navButton3.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right;
121 | this.navButton3.Caption = "Button";
122 | this.navButton3.Name = "navButton3";
123 | //
124 | // tileNavCategory3
125 | //
126 | this.tileNavCategory3.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right;
127 | this.tileNavCategory3.Caption = "Category";
128 | this.tileNavCategory3.Items.AddRange(new DevExpress.XtraBars.Navigation.TileNavItem[] {
129 | this.tileNavItem2});
130 | this.tileNavCategory3.Name = "tileNavCategory3";
131 | //
132 | //
133 | //
134 | this.tileNavCategory3.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
135 | tileItemElement4.Text = "Category";
136 | this.tileNavCategory3.Tile.Elements.Add(tileItemElement4);
137 | //
138 | // tileNavItem2
139 | //
140 | this.tileNavItem2.Caption = "Category Item";
141 | this.tileNavItem2.Name = "tileNavItem2";
142 | this.tileNavItem2.SubItems.AddRange(new DevExpress.XtraBars.Navigation.TileNavSubItem[] {
143 | this.tileNavSubItem4,
144 | this.tileNavSubItem5});
145 | //
146 | //
147 | //
148 | this.tileNavItem2.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
149 | tileItemElement3.Text = "Category Item";
150 | this.tileNavItem2.Tile.Elements.Add(tileItemElement3);
151 | this.tileNavItem2.Tile.Name = "tileBarItem2";
152 | //
153 | // tileNavSubItem4
154 | //
155 | this.tileNavSubItem4.Caption = "Sub-Item";
156 | this.tileNavSubItem4.Name = "tileNavSubItem4";
157 | //
158 | //
159 | //
160 | this.tileNavSubItem4.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
161 | tileItemElement1.Text = "Sub-Item";
162 | this.tileNavSubItem4.Tile.Elements.Add(tileItemElement1);
163 | this.tileNavSubItem4.Tile.Name = "tileBarItem9";
164 | //
165 | // tileNavSubItem5
166 | //
167 | this.tileNavSubItem5.Caption = "Sub-Item";
168 | this.tileNavSubItem5.Name = "tileNavSubItem5";
169 | //
170 | //
171 | //
172 | this.tileNavSubItem5.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
173 | tileItemElement2.Text = "Sub-Item";
174 | this.tileNavSubItem5.Tile.Elements.Add(tileItemElement2);
175 | this.tileNavSubItem5.Tile.Name = "tileBarItem10";
176 | //
177 | // tileNavCategory4
178 | //
179 | this.tileNavCategory4.Caption = "Control Views";
180 | this.tileNavCategory4.GroupName = "";
181 | this.tileNavCategory4.Items.AddRange(new DevExpress.XtraBars.Navigation.TileNavItem[] {
182 | this.gridItem,
183 | this.richEditItem,
184 | this.tileNavItem3});
185 | this.tileNavCategory4.Name = "tileNavCategory4";
186 | //
187 | //
188 | //
189 | this.tileNavCategory4.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
190 | tileItemElement11.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.TopRight;
191 | tileItemElement11.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("resource.SvgImage3")));
192 | tileItemElement11.Text = "Control Views";
193 | this.tileNavCategory4.Tile.Elements.Add(tileItemElement11);
194 | this.tileNavCategory4.Tile.Name = "tileBarItem4";
195 | //
196 | // gridItem
197 | //
198 | this.gridItem.Caption = "Grid";
199 | this.gridItem.Name = "gridItem";
200 | //
201 | //
202 | //
203 | this.gridItem.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
204 | tileItemElement5.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.TopRight;
205 | tileItemElement5.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("resource.SvgImage")));
206 | tileItemElement5.Text = "Grid";
207 | this.gridItem.Tile.Elements.Add(tileItemElement5);
208 | this.gridItem.Tile.Name = "tileBarItem5";
209 | this.gridItem.TileClick += new DevExpress.XtraBars.Navigation.NavElementClickEventHandler(this.gridItem_TileClick);
210 | //
211 | // richEditItem
212 | //
213 | this.richEditItem.Caption = "Rich Edit";
214 | this.richEditItem.Name = "richEditItem";
215 | //
216 | //
217 | //
218 | this.richEditItem.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
219 | tileItemElement6.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.TopRight;
220 | tileItemElement6.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("resource.SvgImage1")));
221 | tileItemElement6.Text = "Rich Edit";
222 | this.richEditItem.Tile.Elements.Add(tileItemElement6);
223 | this.richEditItem.Tile.Name = "tileBarItem1";
224 | this.richEditItem.TileClick += new DevExpress.XtraBars.Navigation.NavElementClickEventHandler(this.richEditItem_TileClick);
225 | //
226 | // tileNavItem3
227 | //
228 | this.tileNavItem3.Caption = "Sample with Sub-Items";
229 | this.tileNavItem3.Name = "tileNavItem3";
230 | this.tileNavItem3.SubItems.AddRange(new DevExpress.XtraBars.Navigation.TileNavSubItem[] {
231 | this.tileNavSubItem1,
232 | this.tileNavSubItem2,
233 | this.tileNavSubItem3});
234 | //
235 | //
236 | //
237 | this.tileNavItem3.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
238 | tileItemElement10.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.TopRight;
239 | tileItemElement10.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("resource.SvgImage2")));
240 | tileItemElement10.Text = "Sample with Sub-Items";
241 | this.tileNavItem3.Tile.Elements.Add(tileItemElement10);
242 | this.tileNavItem3.Tile.Name = "tileBarItem3";
243 | //
244 | // tileNavSubItem1
245 | //
246 | this.tileNavSubItem1.Caption = "Sub Item 1";
247 | this.tileNavSubItem1.Name = "tileNavSubItem1";
248 | //
249 | //
250 | //
251 | this.tileNavSubItem1.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
252 | tileItemElement7.Text = "Sub Item 1";
253 | this.tileNavSubItem1.Tile.Elements.Add(tileItemElement7);
254 | this.tileNavSubItem1.Tile.Name = "tileBarItem6";
255 | //
256 | // tileNavSubItem2
257 | //
258 | this.tileNavSubItem2.Caption = "Sub Item 2";
259 | this.tileNavSubItem2.Name = "tileNavSubItem2";
260 | //
261 | //
262 | //
263 | this.tileNavSubItem2.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
264 | tileItemElement8.Text = "Sub Item 2";
265 | this.tileNavSubItem2.Tile.Elements.Add(tileItemElement8);
266 | this.tileNavSubItem2.Tile.Name = "tileBarItem7";
267 | //
268 | // tileNavSubItem3
269 | //
270 | this.tileNavSubItem3.Caption = "Sub Item 3";
271 | this.tileNavSubItem3.Name = "tileNavSubItem3";
272 | //
273 | //
274 | //
275 | this.tileNavSubItem3.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
276 | tileItemElement9.Text = "Sub Item 3";
277 | this.tileNavSubItem3.Tile.Elements.Add(tileItemElement9);
278 | this.tileNavSubItem3.Tile.Name = "tileBarItem8";
279 | //
280 | // MainFormWithTileNavPane
281 | //
282 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
283 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
284 | this.ClientSize = new System.Drawing.Size(722, 503);
285 | this.Controls.Add(this.navigationFrame1);
286 | this.Controls.Add(this.tileNavPane1);
287 | this.Name = "MainFormWithTileNavPane";
288 | this.Text = "MainFormWithTileNavPane";
289 | ((System.ComponentModel.ISupportInitialize)(this.navigationFrame1)).EndInit();
290 | this.navigationFrame1.ResumeLayout(false);
291 | ((System.ComponentModel.ISupportInitialize)(this.tileNavPane1)).EndInit();
292 | this.ResumeLayout(false);
293 |
294 | }
295 |
296 | #endregion
297 |
298 | private DevExpress.XtraBars.Navigation.NavigationFrame navigationFrame1;
299 | private DevExpress.XtraBars.Navigation.NavigationPage gridPage;
300 | private DevExpress.XtraBars.Navigation.NavigationPage richEditPage;
301 | private DevExpress.XtraBars.Navigation.TileNavPane tileNavPane1;
302 | private DevExpress.XtraBars.Navigation.NavButton navButton2;
303 | private DevExpress.XtraBars.Navigation.NavButton navButton3;
304 | private DevExpress.XtraBars.Navigation.TileNavCategory tileNavCategory3;
305 | private DevExpress.XtraBars.Navigation.TileNavCategory tileNavCategory4;
306 | private DevExpress.XtraBars.Navigation.TileNavItem tileNavItem3;
307 | private DevExpress.XtraBars.Navigation.TileNavSubItem tileNavSubItem1;
308 | private DevExpress.XtraBars.Navigation.TileNavSubItem tileNavSubItem2;
309 | private DevExpress.XtraBars.Navigation.TileNavSubItem tileNavSubItem3;
310 | private DevExpress.XtraBars.Navigation.TileNavItem gridItem;
311 | private DevExpress.XtraBars.Navigation.TileNavItem richEditItem;
312 | private DevExpress.XtraBars.Navigation.TileNavItem tileNavItem2;
313 | private DevExpress.XtraBars.Navigation.TileNavSubItem tileNavSubItem4;
314 | private DevExpress.XtraBars.Navigation.TileNavSubItem tileNavSubItem5;
315 | }
316 | }
--------------------------------------------------------------------------------
/sample_3_8/MainFormWithTileNavPane.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Linq;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 | using DevExpress.XtraEditors;
11 |
12 | namespace sample_3_8 {
13 | public partial class MainFormWithTileNavPane : DevExpress.XtraEditors.XtraForm {
14 | public MainFormWithTileNavPane() {
15 | InitializeComponent();
16 | }
17 |
18 | private void gridItem_TileClick(object sender, DevExpress.XtraBars.Navigation.NavElementEventArgs e) {
19 | navigationFrame1.SelectedPage = gridPage;
20 | }
21 |
22 | private void richEditItem_TileClick(object sender, DevExpress.XtraBars.Navigation.NavElementEventArgs e) {
23 | navigationFrame1.SelectedPage = richEditPage;
24 | }
25 |
26 | private void navigationFrame1_QueryControl(object sender, DevExpress.XtraBars.Navigation.QueryControlEventArgs e) {
27 | if (e.Page == gridPage)
28 | e.Control = new GridUserControl();
29 | else if (e.Page == richEditPage)
30 | e.Control = new RichEditUserControl();
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/sample_3_8/MainFormWithTileNavPane.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjEsIFZlcnNpb249MjAuMS40
124 | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
125 | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAA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2F0ZWdvcml6ZSI+DQogICAgPHBh
202 | dGggZD0iTTEwLDhINFYyaDZWOHogTTE4LDJoLTZ2Nmg2VjJ6IE0xMCwxMEg0djZoNlYxMHoiIGNsYXNz
203 | PSJZZWxsb3ciIC8+DQogICAgPHBhdGggZD0iTTEwLDI0SDR2LTZoNlYyNHogTTE4LDEwaC02djZoNlYx
204 | MHoiIGNsYXNzPSJHcmVlbiIgLz4NCiAgICA8cGF0aCBkPSJNMjYsOGgtNlYyaDZWOHogTTI2LDEwaC02
205 | djZoNlYxMHoiIGNsYXNzPSJSZWQiIC8+DQogICAgPHBhdGggZD0iTTI2LDI0aC02di02aDZWMjR6IE0x
206 | OCwxOGgtNnY2aDZWMTh6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8ZyBjbGFzcz0ic3QwIj4NCiAgICAg
207 | IDxyZWN0IHg9IjQiIHk9IjEwIiB3aWR0aD0iNiIgaGVpZ2h0PSI2IiByeD0iMCIgcnk9IjAiIGNsYXNz
208 | PSJHcmVlbiIgLz4NCiAgICAgIDxwYXRoIGQ9Ik0xOCw4aC02VjJoNlY4eiBNMjYsMThoLTZ2Nmg2VjE4
209 | eiIgY2xhc3M9IlJlZCIgLz4NCiAgICAgIDxwYXRoIGQ9Ik0yNiwxNmgtNnYtNmg2VjE2eiBNMTgsMTBo
210 | LTZ2Nmg2VjEweiIgY2xhc3M9IkJsdWUiIC8+DQogICAgPC9nPg0KICAgIDxnIGNsYXNzPSJzdDAiPg0K
211 | ICAgICAgPHJlY3QgeD0iMjAiIHk9IjE4IiB3aWR0aD0iNiIgaGVpZ2h0PSI2IiByeD0iMCIgcnk9IjAi
212 | IGNsYXNzPSJCbHVlIiAvPg0KICAgIDwvZz4NCiAgPC9nPg0KPC9zdmc+Cw==
213 |
214 |
215 |
--------------------------------------------------------------------------------
/sample_3_8/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 | using DevExpress.UserSkins;
6 | using DevExpress.Skins;
7 | using DevExpress.LookAndFeel;
8 | using DevExpress.XtraEditors;
9 |
10 | namespace sample_3_8 {
11 | static class Program {
12 | ///
13 | /// The main entry point for the application.
14 | ///
15 | [STAThread]
16 | static void Main() {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new MainFormWithTileNavPane());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/sample_3_8/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("sample_3_8")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("sample_3_8")]
12 | [assembly: AssemblyCopyright("Copyright © 2020")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 | // Setting ComVisible to false makes the types in this assembly not visible
16 | // to COM components. If you need to access a type in this assembly from
17 | // COM, set the ComVisible attribute to true on that type.
18 | [assembly: ComVisible(false)]
19 | // The following GUID is for the ID of the typelib if this project is exposed to COM
20 | [assembly: Guid("9006f149-aa49-4b8e-ba69-386d945fa738")]
21 | // Version information for an assembly consists of the following four values:
22 | //
23 | // Major Version
24 | // Minor Version
25 | // Build Number
26 | // Revision
27 | //
28 | // You can specify all the values or you can default the Build and Revision Numbers
29 | // by using the '*' as shown below:
30 | // [assembly: AssemblyVersion("1.0.*")]
31 | [assembly: AssemblyVersion("1.0.0.0")]
32 | [assembly: AssemblyFileVersion("1.0.0.0")]
33 |
--------------------------------------------------------------------------------
/sample_3_8/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace sample_3_8.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("sample_3_8.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/sample_3_8/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/sample_3_8/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace sample_3_8.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/sample_3_8/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/sample_3_8/Properties/licenses.licx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Dev_express_sample_3_8_final/290f250c77ec7307a0e1e027858fa5d6ef1d24c8/sample_3_8/Properties/licenses.licx
--------------------------------------------------------------------------------
/sample_3_8/RichEditUserControl.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace sample_3_8 {
12 | public partial class RichEditUserControl : DevExpress.XtraEditors.XtraUserControl {
13 | public RichEditUserControl() {
14 | InitializeComponent();
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/sample_3_8/RichEditUserControl.designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_3_8 {
2 | partial class RichEditUserControl {
3 | ///
4 | /// Required designer variable.
5 | ///
6 | private System.ComponentModel.IContainer components = null;
7 |
8 | ///
9 | /// Clean up any resources being used.
10 | ///
11 | /// true if managed resources should be disposed; otherwise, false.
12 | protected override void Dispose(bool disposing) {
13 | if (disposing && (components != null)) {
14 | components.Dispose();
15 | }
16 | base.Dispose(disposing);
17 | }
18 |
19 | #region Component Designer generated code
20 |
21 | ///
22 | /// Required method for Designer support - do not modify
23 | /// the contents of this method with the code editor.
24 | ///
25 | private void InitializeComponent() {
26 | this.richEditControl1 = new DevExpress.XtraRichEdit.RichEditControl();
27 | this.SuspendLayout();
28 | //
29 | // richEditControl1
30 | //
31 | this.richEditControl1.Dock = System.Windows.Forms.DockStyle.Fill;
32 | this.richEditControl1.Location = new System.Drawing.Point(0, 0);
33 | this.richEditControl1.Name = "richEditControl1";
34 | this.richEditControl1.Size = new System.Drawing.Size(420, 322);
35 | this.richEditControl1.TabIndex = 0;
36 | this.richEditControl1.Text = "richEditControl1";
37 | //
38 | // RichEditUserControl
39 | //
40 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
41 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
42 | this.Controls.Add(this.richEditControl1);
43 | this.Name = "RichEditUserControl";
44 | this.Size = new System.Drawing.Size(420, 322);
45 | this.ResumeLayout(false);
46 |
47 | }
48 |
49 | #endregion
50 |
51 | private DevExpress.XtraRichEdit.RichEditControl richEditControl1;
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/sample_3_8/RichEditUserControl.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/sample_3_8/RichEditUserControlWithRibbon.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace sample_3_8 {
12 | public partial class RichEditUserControlWithRibbon : DevExpress.XtraEditors.XtraUserControl {
13 | public RichEditUserControlWithRibbon() {
14 | InitializeComponent();
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/sample_3_8/RichEditUserControlWithRibbon.designer.cs:
--------------------------------------------------------------------------------
1 | namespace sample_3_8 {
2 | partial class RichEditUserControlWithRibbon {
3 | ///
4 | /// Required designer variable.
5 | ///
6 | private System.ComponentModel.IContainer components = null;
7 |
8 | ///
9 | /// Clean up any resources being used.
10 | ///
11 | /// true if managed resources should be disposed; otherwise, false.
12 | protected override void Dispose(bool disposing) {
13 | if (disposing && (components != null)) {
14 | components.Dispose();
15 | }
16 | base.Dispose(disposing);
17 | }
18 |
19 | #region Component Designer generated code
20 |
21 | ///
22 | /// Required method for Designer support - do not modify
23 | /// the contents of this method with the code editor.
24 | ///
25 | private void InitializeComponent() {
26 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RichEditUserControlWithRibbon));
27 | this.richEditControl1 = new DevExpress.XtraRichEdit.RichEditControl();
28 | this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
29 | this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
30 | this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
31 | this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
32 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
33 | this.SuspendLayout();
34 | //
35 | // richEditControl1
36 | //
37 | this.richEditControl1.Dock = System.Windows.Forms.DockStyle.Fill;
38 | this.richEditControl1.Location = new System.Drawing.Point(0, 150);
39 | this.richEditControl1.MenuManager = this.ribbonControl1;
40 | this.richEditControl1.Name = "richEditControl1";
41 | this.richEditControl1.Size = new System.Drawing.Size(420, 172);
42 | this.richEditControl1.TabIndex = 0;
43 | this.richEditControl1.Text = "richEditControl1";
44 | //
45 | // ribbonControl1
46 | //
47 | this.ribbonControl1.ExpandCollapseItem.Id = 0;
48 | this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
49 | this.ribbonControl1.SearchEditItem,
50 | this.ribbonControl1.ExpandCollapseItem,
51 | this.barButtonItem1});
52 | this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
53 | this.ribbonControl1.MaxItemId = 2;
54 | this.ribbonControl1.Name = "ribbonControl1";
55 | this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
56 | this.ribbonPage1});
57 | this.ribbonControl1.Size = new System.Drawing.Size(420, 150);
58 | //
59 | // ribbonPage1
60 | //
61 | this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
62 | this.ribbonPageGroup1});
63 | this.ribbonPage1.Name = "ribbonPage1";
64 | this.ribbonPage1.Text = "Main";
65 | //
66 | // ribbonPageGroup1
67 | //
68 | this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1);
69 | this.ribbonPageGroup1.Name = "ribbonPageGroup1";
70 | this.ribbonPageGroup1.Text = "Tools";
71 | //
72 | // barButtonItem1
73 | //
74 | this.barButtonItem1.Caption = "Rich Edit Feature";
75 | this.barButtonItem1.Id = 1;
76 | this.barButtonItem1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItem1.ImageOptions.SvgImage")));
77 | this.barButtonItem1.Name = "barButtonItem1";
78 | //
79 | // RichEditUserControlWithRibbon
80 | //
81 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
82 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
83 | this.Controls.Add(this.richEditControl1);
84 | this.Controls.Add(this.ribbonControl1);
85 | this.Name = "RichEditUserControlWithRibbon";
86 | this.Size = new System.Drawing.Size(420, 322);
87 | ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
88 | this.ResumeLayout(false);
89 | this.PerformLayout();
90 |
91 | }
92 |
93 | #endregion
94 |
95 | private DevExpress.XtraRichEdit.RichEditControl richEditControl1;
96 | private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1;
97 | private DevExpress.XtraBars.BarButtonItem barButtonItem1;
98 | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
99 | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/sample_3_8/RichEditUserControlWithRibbon.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjEsIFZlcnNpb249MjAuMS4z
124 | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
125 | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAEEGAAAC77u/
126 | PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
127 | IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
128 | MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
129 | Y2U9InByZXNlcnZlIiBpZD0iQ2hhbmdlVGV4dENhc2UiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpu
130 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sMS0wLjMsMS42ICBjMCwwLjYs
143 | MC4xLDEuMSwwLjMsMS42YzAuMiwwLjQsMC41LDAuOCwwLjgsMS4xYzAuNCwwLjMsMC44LDAuNSwxLjIs
144 | MC42YzAuNSwwLjEsMSwwLjIsMS41LDAuMmMwLjcsMCwxLjQtMC4xLDIuMS0wLjMgIGMwLjctMC4yLDEu
145 | My0wLjYsMS44LTEuMUMyNywyMy4xLDI3LDIzLjMsMjcuMSwyMy41eiBNMjYuOSwxOS41YzAsMC4yLDAs
146 | MC40LTAuMSwwLjdjMCwwLjMtMC4xLDAuNi0wLjMsMC45ICBjLTAuMiwwLjMtMC40LDAuNS0wLjcsMC44
147 | Yy0wLjMsMC4yLTAuOCwwLjMtMS40LDAuM2MtMC4yLDAtMC41LDAtMC43LTAuMWMtMC4yLDAtMC40LTAu
148 | MS0wLjYtMC4yYy0wLjItMC4xLTAuMy0wLjMtMC40LTAuNSAgYy0wLjEtMC4yLTAuMi0wLjQtMC4yLTAu
149 | N2MwLTAuMywwLjEtMC42LDAuMi0wLjdjMC4xLTAuMiwwLjItMC40LDAuNC0wLjVjMC4yLTAuMSwwLjQt
150 | MC4yLDAuNi0wLjNjMC4yLTAuMSwwLjUtMC4xLDAuNy0wLjIgIGMwLjIsMCwwLjUtMC4xLDAuNy0wLjFj
151 | MC4yLDAsMC41LTAuMSwwLjctMC4xYzAuMiwwLDAuNC0wLjEsMC42LTAuMmMwLjItMC4xLDAuNC0wLjIs
152 | MC41LTAuM1YxOS41eiIgY2xhc3M9IkJsdWUiIC8+DQo8L3N2Zz4L
153 |
154 |
155 |
--------------------------------------------------------------------------------
/sample_3_8/sample_3_8.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | x86
6 | 8.0.30703
7 | 2.0
8 | {813823B3-87E8-41A2-BF69-9564BA59C21D}
9 | WinExe
10 | Properties
11 | sample_3_8
12 | sample_3_8
13 | v4.8
14 | 512
15 |
16 |
17 |
18 | AnyCPU
19 | true
20 | full
21 | false
22 | bin\Debug\
23 | DEBUG;TRACE
24 | prompt
25 | 4
26 |
27 |
28 | AnyCPU
29 | pdbonly
30 | true
31 | bin\Release\
32 | TRACE
33 | prompt
34 | 4
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 | Form
67 |
68 |
69 | FluentMainForm.cs
70 |
71 |
72 | UserControl
73 |
74 |
75 | GridUserControlWithRibbon.cs
76 |
77 |
78 | UserControl
79 |
80 |
81 | GridUserControl.cs
82 |
83 |
84 | Form
85 |
86 |
87 | MainFormWithRibbon.cs
88 |
89 |
90 | Form
91 |
92 |
93 | MainFormWithTileNavPane.cs
94 |
95 |
96 |
97 |
98 | UserControl
99 |
100 |
101 | RichEditUserControlWithRibbon.cs
102 |
103 |
104 | UserControl
105 |
106 |
107 | RichEditUserControl.cs
108 |
109 |
110 | FluentMainForm.cs
111 |
112 |
113 | GridUserControlWithRibbon.cs
114 |
115 |
116 | GridUserControl.cs
117 |
118 |
119 | MainFormWithRibbon.cs
120 |
121 |
122 | MainFormWithTileNavPane.cs
123 |
124 |
125 |
126 | ResXFileCodeGenerator
127 | Resources.Designer.cs
128 | Designer
129 |
130 |
131 | True
132 | Resources.resx
133 | True
134 |
135 |
136 | RichEditUserControlWithRibbon.cs
137 |
138 |
139 | RichEditUserControl.cs
140 |
141 |
142 |
143 | SettingsSingleFileGenerator
144 | Settings.Designer.cs
145 |
146 |
147 | True
148 | Settings.settings
149 | True
150 |
151 |
152 |
153 |
160 |
--------------------------------------------------------------------------------