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/CS/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.csproj b/CS/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.csproj index d7d6547..0183c5e 100644 --- a/CS/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.csproj +++ b/CS/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.csproj @@ -36,43 +36,43 @@ 4 - + False - + False - + False - + False - + False - + False - + False - + False - + False - + False - + False - + False - + False diff --git a/Readme.md b/Readme.md index 3a0ac88..20cb9bd 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/21.1.5%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) # WPF Data Grid - Implement Attributes-Based Validation @@ -27,3 +28,10 @@ This example shows how to apply DataAnnotations attributes that specify data val * [WPF Data Grid - How to Validate Data Rows](https://github.com/DevExpress-Examples/how-to-validate-data-rows-e1593) * [WPF Data Grid - How to Validate Cell Editors](https://github.com/DevExpress-Examples/validate-cell-editors) + +## 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/DXGrid_AttributesBasedValidation.vbproj b/VB/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.vbproj index 45c93c1..330e5c9 100644 --- a/VB/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.vbproj +++ b/VB/DXGrid_AttributesBasedValidation/DXGrid_AttributesBasedValidation.vbproj @@ -38,43 +38,43 @@ 4 - + False - + False - + False - + False - + False - + False - + False - + False - + False - + False - + False - + False - + False