Hi,
does it exist a switch for xaml in wpf? I've foun donly your toggle switch for classic form, but anything about this.
Have to create myself or is it already control to do this?
(I mean, something like this.
We have closed this ticket because another page addresses its subject:
Togglebutton in WPF ControlsHi,
does it exist a switch for xaml in wpf? I've foun donly your toggle switch for classic form, but anything about this.
Have to create myself or is it already control to do this?
(I mean, something like this.
Hello
We have already discussed a similar issue: Togglebutton in WPF Controls. Please review that ticket for additional information. If you have any additional questions, feel free to contact us again. We are here to help you.
Thanks,
Elliot
I have investigated this issue again and found that you can accomplish this task by overriding a style for the CheckEdit control as shown in the Data Editors -> CheckEdit section in our Demo Center. I have attached a sample project illustrating the suggested approach. Please take a moment to review it.
I am using the suggested ControlTemplate for a toggle slider, but I'm having trouble with a binding issue. I would like for the slider element to be able to move within the confines of the control, but without regard to the overall width of that control. This means binding the EasingDoubleKeyFrame properties to a converter that calculates what the stops should be based off of the overall width of the CheckEdit control. Could you modify the sample such that that is possible?
Hi Don,
If you are looking for a toggle switch control, up-to-date versions of our suite include the built-in ToggleSwitchEdit control. It supports different display modes, allows you to customize the switch element width, etc. For example:
XAML<dxe:ToggleSwitch CheckedStateContent="On" UncheckedStateContent="Off" ToggleSwitchWidth="300" ContentPlacement="Both"/>
Please try it and let us know if it meets your needs.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.