From 603b4b1e82e53629f3c707fd8cada4923257b879 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Fri, 30 Dec 2022 11:13:09 +0400 Subject: [PATCH 1/5] Source auto update [skip ci] --- .../{Application.xaml => App.xaml} | 0 .../{Application.xaml.vb => App.xaml.vb} | 8 +-- .../DXGrid_AttributesBasedValidation.vbproj | 62 ++++++---------- .../Employees.vb | 70 +++++++++---------- .../MainWindow.xaml.vb | 18 ++--- .../My Project/Resources.Designer.vb | 61 ---------------- .../My Project/Settings.Designer.vb | 26 ------- .../AssemblyInfo.vb | 44 +++++------- .../Properties/Resources.Designer.vb | 62 ++++++++++++++++ .../{My Project => Properties}/Resources.resx | 0 .../Properties/Settings.Designer.vb | 25 +++++++ .../Settings.settings | 0 12 files changed, 165 insertions(+), 211 deletions(-) rename VB/DXGrid_AttributesBasedValidation/{Application.xaml => App.xaml} (100%) rename VB/DXGrid_AttributesBasedValidation/{Application.xaml.vb => App.xaml.vb} (57%) delete mode 100644 VB/DXGrid_AttributesBasedValidation/My Project/Resources.Designer.vb delete mode 100644 VB/DXGrid_AttributesBasedValidation/My Project/Settings.Designer.vb rename VB/DXGrid_AttributesBasedValidation/{My Project => Properties}/AssemblyInfo.vb (56%) create mode 100644 VB/DXGrid_AttributesBasedValidation/Properties/Resources.Designer.vb rename VB/DXGrid_AttributesBasedValidation/{My Project => Properties}/Resources.resx (100%) create mode 100644 VB/DXGrid_AttributesBasedValidation/Properties/Settings.Designer.vb rename VB/DXGrid_AttributesBasedValidation/{My Project => Properties}/Settings.settings (100%) diff --git a/VB/DXGrid_AttributesBasedValidation/Application.xaml b/VB/DXGrid_AttributesBasedValidation/App.xaml similarity index 100% rename from VB/DXGrid_AttributesBasedValidation/Application.xaml rename to VB/DXGrid_AttributesBasedValidation/App.xaml diff --git a/VB/DXGrid_AttributesBasedValidation/Application.xaml.vb b/VB/DXGrid_AttributesBasedValidation/App.xaml.vb similarity index 57% rename from VB/DXGrid_AttributesBasedValidation/Application.xaml.vb rename to VB/DXGrid_AttributesBasedValidation/App.xaml.vb index 2d79ea5..5d41104 100644 --- a/VB/DXGrid_AttributesBasedValidation/Application.xaml.vb +++ b/VB/DXGrid_AttributesBasedValidation/App.xaml.vb @@ -1,15 +1,11 @@ -Imports System -Imports System.Collections.Generic -Imports System.Configuration -Imports System.Data -Imports System.Linq Imports System.Windows Namespace DXGrid_AttributesBasedValidation + ''' ''' Interaction logic for App.xaml ''' - Partial Public Class App + Public Partial Class App Inherits Application End Class diff --git a/VB/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.vbproj b/VB/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.vbproj index a27ade7..8032941 100644 --- a/VB/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.vbproj +++ b/VB/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.vbproj @@ -1,22 +1,22 @@ + On Debug x86 8.0.30703 2.0 {1397FBB1-3C84-4C6C-875A-82A005901863} WinExe - + Properties + + DXGrid_AttributesBasedValidation v4.0 Client 512 {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{F184B08F-C81C-45F6-A57F-5ABD9991F28F} - On - Binary - Off - On + 4 x86 @@ -24,18 +24,18 @@ full false bin\Debug\ - true - true + DEBUG,TRACE prompt + 4 x86 pdbonly true bin\Release\ - false - true + TRACE prompt + 4 @@ -75,27 +75,7 @@ - - - - - - - - - - - - - - - - - - - - - + MSBuild:Compile Designer @@ -103,8 +83,8 @@ MSBuild:Compile Designer - - Application.xaml + + App.xaml Code @@ -114,32 +94,32 @@ - + Code - + True True Resources.resx - + True Settings.settings True - - VbMyResourcesResXFileCodeGenerator + + ResXFileCodeGenerator Resources.Designer.vb - My.Resources + DXGrid_AttributesBasedValidation.Properties - + SettingsSingleFileGenerator Settings.Designer.vb - + - *Files to look at*: @@ -18,3 +19,10 @@
+ +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=wpf-data-grid-implement-attribute-based-validation&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=wpf-data-grid-implement-attribute-based-validation&~~~was_helpful=no) + +(you will be redirected to DevExpress.com to submit your response) + From 0155c24ea5906b608e18a5f828bf74be702d9ad0 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Thu, 10 Oct 2024 10:28:44 +0300 Subject: [PATCH 3/5] Created a new file vale.yml [skip ci] --- .github/workflows/vale.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/vale.yml diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml new file mode 100644 index 0000000..adadc73 --- /dev/null +++ b/.github/workflows/vale.yml @@ -0,0 +1,26 @@ +name: vale-validation +on: + pull_request: + paths: + - README.md + +jobs: + vale: + name: runner / vale + runs-on: ubuntu-latest + steps: + - name: clone repo + uses: actions/checkout@v4 + - name: clone vale-styles repo + uses: actions/checkout@v4 + with: + repository: DevExpress/vale-styles + path: vale-styles + ssh-key: ${{ secrets.VALE_STYLES_ACCESS_KEY }} + - name: copy vale rules to the root repo + run: shopt -s dotglob && cp -r ./vale-styles/vale/* . + - name: vale linter check + uses: DevExpress/vale-action@reviewdog + with: + files: README.md + fail_on_error: true From 5066c8d3efb461c471b3bf66d712b85112acd705 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Tue, 15 Oct 2024 16:55:12 +0400 Subject: [PATCH 4/5] Vale auto update [skip ci] --- .github/workflows/vale.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index adadc73..068c35b 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -24,3 +24,5 @@ jobs: with: files: README.md fail_on_error: true + filter_mode: nofilter + reporter: github-check From cde67f8b027abebf9fd3e4cd972774ba9427fe22 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Tue, 4 Mar 2025 13:08:27 +0400 Subject: [PATCH 5/5] Vale auto update [skip ci] --- .github/workflows/vale.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index 068c35b..fc11f81 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -3,6 +3,8 @@ on: pull_request: paths: - README.md + - readme.md + - Readme.md jobs: vale: @@ -22,7 +24,7 @@ jobs: - name: vale linter check uses: DevExpress/vale-action@reviewdog with: - files: README.md + files: '["README.md", "readme.md", "Readme.md"]' fail_on_error: true filter_mode: nofilter reporter: github-check