Hi,
I'm trying to create multiple TexBoxes programatically and fill them with values.Works fine so far. Unfortunately I'm can't find any way to format the TextBox using TextBox.Format property.
As far as I know this is caused by the fact that values which are added using TextBox.Value has to be explicit converted to string. Therefore DataTime and currency/number formats can not be applied. If I pass any other data type (using dynamic) to the TextBox.Value it throws an RuntimeBinderException as expected.
Could you tell me how I could create the text boxes programtically, set their values, and format them?
Kind Regards
I'm trying to create multiple TexBoxes programatically and fill them with values.Works fine so far. Unfortunately I'm can't find any way to format the TextBox using TextBox.Format property.
As far as I know this is caused by the fact that values which are added using TextBox.Value has to be explicit converted to string. Therefore DataTime and currency/number formats can not be applied. If I pass any other data type (using dynamic) to the TextBox.Value it throws an RuntimeBinderException as expected.
Could you tell me how I could create the text boxes programtically, set their values, and format them?
Kind Regards