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 diff --git a/Close-Button-Customization.gif b/Close-Button-Customization.gif deleted file mode 100644 index dec71c3..0000000 Binary files a/Close-Button-Customization.gif and /dev/null differ diff --git a/Images/ChipCustomization.png b/Images/ChipCustomization.png new file mode 100644 index 0000000..890d92e Binary files /dev/null and b/Images/ChipCustomization.png differ diff --git a/README.md b/README.md index 807b04d..496c3f6 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,55 @@ [Xamarin.Forms Chips](https://help.syncfusion.com/xamarin/chips/getting-started) allow users to display the information in token representation. These chips arranged manner named ChipGroup. Default mode of [ChipGroup](https://www.syncfusion.com/xamarin-ui-controls/xamarin-chips) is [Input](https://help.syncfusion.com/xamarin/chips/types#input) type and its default size has been customized as per in below -![](https://github.com/SyncfusionExamples/How-to-customize-size-of-close-button-in-Xamarin.Forms-chip-group/blob/main/Close-Button-Customization.gif) - +## Syncfusion Controls + +This project uses the following Syncfusion controls: + +* [SfChip](https://www.syncfusion.com/xamarin-ui-controls/xamarin-chips) - To display chip and chip group and customize the close button of chip + +## Screenshots + + +## Supported platforms + +| Platforms | Supported versions | +| --------- | ------------------ | +| Android | API level 19 and later versions | +| iOS | iOS 9.0 and later versions | + +Refer to the following link for more details: +[System Requirements](https://help.syncfusion.com/xamarin/installation-and-upgrade/system-requirements) + +## Requirements to run the sample + +* [Visual Studio 2017](https://visualstudio.microsoft.com/downloads/) or [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/) +* Xamarin add-ons for Visual Studio (available in Visual Studio installer) + +## How to run the sample + +1. Clone the sample and open it in Visual Studio. + + *Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.* + +2. Register your license key in the App.cs file as demonstrated in the following code. + + public App() + { + //Register Syncfusion license + Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY"); + + InitializeComponent(); + + MainPage = new NavigationPage(new MainPage()); + } + +Refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/license-key#xamarinforms) for more details. + +3. Set any one of the platform specific projects (iOS, Android or UWP) as a start-up project. +4. Clean and build the application. +5. Run the application. + +## License + +Syncfusion has no liability for any damage or consequence that may arise by using or viewing the samples. The samples are for demonstrative purposes, and if you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage that is related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples. +