Giter Club home page Giter Club logo

maui.statebutton's Introduction

Header image

Ieuan Walker | Twitter           Ieuan Walker | Linkedin           Ieuan Walker | Instagram           Ieuan Walker | Stack overflow


I am a full stack senior software engineer working on websites, backend and mobile. My main passion is learning new things, and if i build something cool or usefull i try to turn it into a OSS project. Some of the technologies I enjoy working with include .NET Core, razor pages, web API's (REST), .NET MAUI, and Xamarin.Forms.

Top Langs

GitHub Stats GitHub Streak

Check out my repos

maui.statebutton's People

Contributors

ieuanwalker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

maui.statebutton's Issues

Style's property is not working

Hi,
thanks for your great work.

When we apply backgroundcolor and Stroke from style, button stay transparent and no border are drawn.

    <ContentPage.Resources>
        <ResourceDictionary>
            <Style x:Key="borderButton" TargetType="sb:StateButton" >
                <Setter Property="Stroke" Value="{StaticResource Color2}"></Setter>
                <Setter Property="StrokeThickness" Value="1"></Setter>
                <Setter Property="BackgroundColor" Value="{StaticResource Color3}"></Setter>
                <Setter Property="StrokeShape" Value="RoundRectangle 11,11,11,11"></Setter>
            </Style>
        </ResourceDictionary>
    </ContentPage.Resources>
<sb:StateButton Grid.Row="1" Grid.Column="1"  Style="{DynamicResource borderButton}"  >
                <sb:StateButton.Triggers>
                    <Trigger TargetType="sb:StateButton" Property="State" Value="Pressed">
                        <Setter Property="BackgroundColor" Value="Green" />
                    </Trigger>
                </sb:StateButton.Triggers>
                <VerticalStackLayout Padding="21,8,21,8">
                    <Image  Source="icon_stat.png" Margin="10"></Image>
                    <Label  VerticalOptions="Center"  Text="Baisser &#10; le volume" Style="{StaticResource menuCenterLabel}"/>
                </VerticalStackLayout>
            </sb:StateButton>

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.