diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml new file mode 100644 index 0000000..d9a8e36 --- /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 \ No newline at end of file diff --git a/Images/Button1.png b/Images/Button1.png new file mode 100644 index 0000000..2aa7233 Binary files /dev/null and b/Images/Button1.png differ diff --git a/Images/Button2.png b/Images/Button2.png new file mode 100644 index 0000000..acfc806 Binary files /dev/null and b/Images/Button2.png differ diff --git a/README.md b/README.md index 2fa3e18..16b2d35 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,54 @@ -# How-to-wrap-the-text-of-segment-in-SfSegmentedControl -To have a multi line support in Xamarin.Forms SfSegmentedControl +# How To Wrap The Text Of Segment In SfSegmentedControl +To wrap the text of segment in sfsegmentedcontrol, you need to have a multi line support in Xamarin.Forms SfSegmentedControl. + +## Syncfusion Controls + +This project uses the following Syncfusion controls: + +* [SfSegmentedControl](https://www.syncfusion.com/xamarin-ui-controls/xamarin-segmented-control) - To show the sfsegmentedcontrol + +## 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.