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
O

omid rezaei hanjani

@omid rezaei hanjani
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Can I set a binding property of TextBox with Styles? [modified]
    O omid rezaei hanjani

    thanks but it doesn't work! because my binding value is different and just its configuration is the same. this is my code:

    <UserControl.Resources>
    <Style TargetType="TextBox">
    <Setter Property="MinWidth" Value="160" />
    </Style>
    </UserControl.Resources>

    ...

    <TextBox x:Name="Name" Text="{Binding Model.Name , UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true , ValidatesOnExceptions = true }" />
    
    <TextBox x:Name="Title" Text="{Binding Model.Title , UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true , ValidatesOnExceptions = true }" />
    
    WCF and WF wpf wcf question

  • Can I set a binding property of TextBox with Styles? [modified]
    O omid rezaei hanjani

    I have many TextBox that their Text property bind to model and this code is is repetetive: e.g. <TextBox x:Name="Title" Text="{Binding Model.Title , UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true , ValidatesOnExceptions = true }"> </TextBox> Can I set 'UpdateSourceTrigger' , 'ValidatesOnDataErrors' and 'ValidatesOnExceptions' with using styles? How? thx

    modified on Monday, May 24, 2010 2:15 AM

    WCF and WF wpf wcf question
  • Login

  • Don't have an account? Register

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