© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
6 replies
Elio

MVVM TOOLKIT SetProtperty

Hello, i'm trying to had a decimal number in my textbox but i can't add a
.
.
or
,
,
to write my decimal number.
here is the declaration of my property that i bind to my textbox.
private readonly SymmetricRoll _symmetricRoll;
public double RollPosition
{
    get => _symmetricRoll.RollPosition;
    set => SetProperty(_symmetricRoll.RollPosition, value, _symmetricRoll, (symmRoll, newValue) => symmRoll.RollPosition = newValue);
}
private readonly SymmetricRoll _symmetricRoll;
public double RollPosition
{
    get => _symmetricRoll.RollPosition;
    set => SetProperty(_symmetricRoll.RollPosition, value, _symmetricRoll, (symmRoll, newValue) => symmRoll.RollPosition = newValue);
}


Do i need to link my textbox to a string and then i parse this string to affect the value to RollPosition ?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Microsoft MVVM toolkit
C#CC# / help
3y ago
MVVM Toolkit Messenger - RequestMessage
C#CC# / help
16mo ago
MVVM w/ Toolkit | Observing Child Properties
C#CC# / help
2y ago
MVVM toolkit receive method of messaging service
C#CC# / help
2y ago