thielj / MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications
http://thielj.github.io/MetroFramework
Other
396 stars 225 forks source link

Implemented ThreeStatus functionality in MetroToggle #74

Open Edheo opened 7 years ago

Edheo commented 7 years ago

I've implemented ThreeStatus functionality in your so useful MetroFramework

If you're interested, please, let me know i can send the code for your evaluation, maybe you can include it in this interface

Kind Regards

Archimedes24 commented 7 years ago

Hello Edheo, would love to have the code for the ThreeStatus functionality. would it be possible for you to paste it here.

thanks/

Edheo commented 7 years ago

Hi Archimedes24

Here you have the MetroToggle.cs You will need to update also the MetroToggle.xml in the Localization folder

You can customize the text from the status label using the TextStatus property, where you can put the text for the 2 or 3 states separated by | char, see the example

this.metroToggle1.TextStatus = "Active|Not Active|NotDef";

I hope it is useful for you

MetroTogglexml.txt

MetroToggle.txt

Archimedes24 commented 7 years ago

Thanks. will let you know if i face any issues.

Date: Thu, 22 Sep 2016 04:24:41 -0700 From: notifications@github.com To: MetroFramework@noreply.github.com CC: ranjhi@hotmail.com; comment@noreply.github.com Subject: Re: [thielj/MetroFramework] Implemented ThreeStatus functionality in MetroToggle (#74)

Hi Archimedes24

Here you have the MetroToggle.cs

You will need to update also the MetroToggle.xml in the Localization folder

You can customize the text from the status label using the TextStatus property, where you can put the text for the 2 or 3 states separated by | char, see the example

this.metroToggle1.TextStatus = "Active|Not Active|NotDef";

I hope it is useful for you

MetroTogglexml.txt

MetroToggle.txt

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.