From c53481f2e6ecdacad8c350796808f3512bda41c3 Mon Sep 17 00:00:00 2001 From: Raghav-Sudhakar Date: Mon, 7 Nov 2022 18:57:52 +0530 Subject: [PATCH 1/4] WF-64663-Updated README.md file. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98ac537..926bd18 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # How-to-select-dropdown-items-in-WF-SfComboBox -This repository contains the sample that how to select the dropdown items in the WinForms SfComboBox control. +This repository contains the sample that how to select the dropdown items in the WinForms SfComboBox control. For more details please refer [How to select DropDown items in SfComboBox](https://www.syncfusion.com/kb/12155/how-to-select-the-winforms-sfcombobox-dropdown-items-programmatically). From c95f38c3003608a4f126f4d6b30f7138994c3a9e Mon Sep 17 00:00:00 2001 From: Raghav-Sudhakar Date: Mon, 14 Nov 2022 17:41:03 +0530 Subject: [PATCH 2/4] WF-64663-Updated Content and images. --- README.md | 9 +++++++++ .../Images/Select DropDown Items.png | Bin 2 files changed, 9 insertions(+) rename output.png => SfComboBox_Select_Dropdownitems/Images/Select DropDown Items.png (100%) diff --git a/README.md b/README.md index 926bd18..b21794e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # How-to-select-dropdown-items-in-WF-SfComboBox This repository contains the sample that how to select the dropdown items in the WinForms SfComboBox control. For more details please refer [How to select DropDown items in SfComboBox](https://www.syncfusion.com/kb/12155/how-to-select-the-winforms-sfcombobox-dropdown-items-programmatically). + +# C# + foreach (var selectedItems in this.sfComboBox1.DropDownListView.View.Items.ToList()) + { + //Programmatically add the checked items + this.sfComboBox1.DropDownListView.CheckedItems.Add(selectedItems); + } + +![Programtically select DropDown items](SfComboBox_Select_Dropdownitems/Images/Select%20DropDown%20Items.png) diff --git a/output.png b/SfComboBox_Select_Dropdownitems/Images/Select DropDown Items.png similarity index 100% rename from output.png rename to SfComboBox_Select_Dropdownitems/Images/Select DropDown Items.png From b16177ae09e2273a35bb259f677cd18e1f066716 Mon Sep 17 00:00:00 2001 From: Raghav-Sudhakar <93652178+Raghav-Sudhakar@users.noreply.github.com> Date: Tue, 29 Nov 2022 12:47:05 +0530 Subject: [PATCH 3/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b21794e..8b46143 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# How-to-select-dropdown-items-in-WF-SfComboBox -This repository contains the sample that how to select the dropdown items in the WinForms SfComboBox control. For more details please refer [How to select DropDown items in SfComboBox](https://www.syncfusion.com/kb/12155/how-to-select-the-winforms-sfcombobox-dropdown-items-programmatically). +# How to select item programatically in SfComboBox. +The items can be selected programmatically using the checked items property. For more details please refer [How to select DropDown items in SfComboBox](https://www.syncfusion.com/kb/12155/how-to-select-the-winforms-sfcombobox-dropdown-items-programmatically). # C# foreach (var selectedItems in this.sfComboBox1.DropDownListView.View.Items.ToList()) From 738176839a03975ea15489d709351d2b1617b8c2 Mon Sep 17 00:00:00 2001 From: SyncfusionBuild <89958145+SyncfusionBuild@users.noreply.github.com> Date: Tue, 24 Jan 2023 16:20:42 +0530 Subject: [PATCH 4/4] Gitleaks action file added --- .github/workflows/gitleaks.yaml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/gitleaks.yaml diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml new file mode 100644 index 0000000..48a24dd --- /dev/null +++ b/.github/workflows/gitleaks.yaml @@ -0,0 +1,38 @@ +name: Secret Value found! +on: + push: + public: +jobs: + scan: + name: gitleaks + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install the gitleaks + run: wget https://github.com/zricethezav/gitleaks/releases/download/v8.15.2/gitleaks_8.15.2_linux_x64.tar.gz + shell: pwsh + - name: Extract the tar file + run: tar xzvf gitleaks_8.15.2_linux_x64.tar.gz + - name: Generate the report + id: gitleaks + run: $GITHUB_WORKSPACE/gitleaks detect -s $GITHUB_WORKSPACE -f json -r $GITHUB_WORKSPACE/leaksreport.json + shell: bash + continue-on-error: true + - name: Setup NuGet.exe + if: steps.gitleaks.outcome != 'success' + uses: nuget/setup-nuget@v1 + with: + nuget-version: latest + - name: Install the dotnet + if: steps.gitleaks.outcome != 'success' + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '3.1.x' + - name: Install the report tool packages + if: steps.gitleaks.outcome != 'success' + run: | + nuget install "Syncfusion.Email" -source "https://nexus.syncfusion.com/repository/nuget-hosted/" + dir $GITHUB_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1 + dotnet $GITHUB_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1/Email.dll "citeam@syncfusion.com" "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" + exit 1