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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. WCF and WF
  4. Data Binding

Data Binding

Scheduled Pinned Locked Moved WCF and WF
wpfwcfhelp
3 Posts 2 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.
  • T Offline
    T Offline
    thangavel1987
    wrote on last edited by
    #1

    There is binding problem <ListView AllowDrop="True" Loaded="PieChartView_Loaded" Drop="PieChartView_Drop" Name="pieChart" Background="Transparent"> <ListView.View> <GridView ColumnHeaderContainerStyle="{DynamicResource myHeaderStyle}" > <GridViewColumn> <GridViewColumn.CellTemplate> <DataTemplate> <ListViewItem Style="{StaticResource listviewItemRes}" PreviewMouseLeftButtonDown="ListViewItem_PreviewMouseLeftButtonDown" /> </DataTemplate> </GridViewColumn.CellTemplate> </GridViewColumn> </GridView> </ListView.View> </ListView> and in the style i draw an ellipse <Ellipse Fill="{Binding CategoryColor, UpdateSourceTrigger=PropertyChanged}" > and then one button click i change the color but it is not changing.

    A 1 Reply Last reply
    0
    • T thangavel1987

      There is binding problem <ListView AllowDrop="True" Loaded="PieChartView_Loaded" Drop="PieChartView_Drop" Name="pieChart" Background="Transparent"> <ListView.View> <GridView ColumnHeaderContainerStyle="{DynamicResource myHeaderStyle}" > <GridViewColumn> <GridViewColumn.CellTemplate> <DataTemplate> <ListViewItem Style="{StaticResource listviewItemRes}" PreviewMouseLeftButtonDown="ListViewItem_PreviewMouseLeftButtonDown" /> </DataTemplate> </GridViewColumn.CellTemplate> </GridViewColumn> </GridView> </ListView.View> </ListView> and in the style i draw an ellipse <Ellipse Fill="{Binding CategoryColor, UpdateSourceTrigger=PropertyChanged}" > and then one button click i change the color but it is not changing.

      A Offline
      A Offline
      ABitSmart
      wrote on last edited by
      #2

      Did you check the Databinding error ? (in the Output window of VS). The binding is missing Source/ElementName perhaps ?

      T 1 Reply Last reply
      0
      • A ABitSmart

        Did you check the Databinding error ? (in the Output window of VS). The binding is missing Source/ElementName perhaps ?

        T Offline
        T Offline
        thangavel1987
        wrote on last edited by
        #3

        ya but no error. when i am inserting through an button click it will get inserted . for changing colors only its not working

        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