Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. The format string which put into textbox

The format string which put into textbox

Scheduled Pinned Locked Moved WPF
helptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Archy_Yu
    wrote on last edited by
    #1

    i created a silverlight project,and add some TextBox control on it,but i want to format the string which put into the TextBox,for example the length,and ASCII or Unicode,But how could i achieve it,any one help me! Thank you in advance. ;P

    M J 2 Replies Last reply
    0
    • A Archy_Yu

      i created a silverlight project,and add some TextBox control on it,but i want to format the string which put into the TextBox,for example the length,and ASCII or Unicode,But how could i achieve it,any one help me! Thank you in advance. ;P

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Where's the string coming from? You can do anything you want to the string before setting it as a textbox's text. Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      1 Reply Last reply
      0
      • A Archy_Yu

        i created a silverlight project,and add some TextBox control on it,but i want to format the string which put into the TextBox,for example the length,and ASCII or Unicode,But how could i achieve it,any one help me! Thank you in advance. ;P

        J Offline
        J Offline
        johnsontroye
        wrote on last edited by
        #3

        You may want to look into using Converters. Do a msdn search on IValueConvert and you should find examples.

        Troy Johnson www.anothercodesite.com/blog

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups