diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml new file mode 100644 index 0000000..fc11f81 --- /dev/null +++ b/.github/workflows/vale.yml @@ -0,0 +1,30 @@ +name: vale-validation +on: + pull_request: + paths: + - README.md + - readme.md + - 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", "readme.md", "Readme.md"]' + fail_on_error: true + filter_mode: nofilter + reporter: github-check diff --git a/Readme.md b/Readme.md index 8bd9dfb..832029f 100644 --- a/Readme.md +++ b/Readme.md @@ -2,6 +2,7 @@ ![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128650903/11.1.4%2B) [![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/E3191) [![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183) +[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives) *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) + 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 - + -