Is there a way to use a collection of PathGeometry like these:
Path 1
F1 M 170.255,178.837L 170.255,221.158C 170.255,228.917 164.174,230.777 156.745,225.286L 136.003,209.973C 128.572,204.488 128.572,195.512 136.003,190.023L 156.745,174.706C 164.174,169.217 170.255,171.079 170.255,178.837 Z
Path 2
F1 M 152.29,174.464L 134.314,187.734C…
Hi, I have read other related question but i cant really get them to relate to this so I thought it were best to ask, Im pretty new to WPF and so on so please bear with me.
I am using this http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx api to work with custom WPF Windows (in particular FancyBalloon).
However, i'm coming…
I created new web project using VS 2008 with enabled Ajax template with C# and Framework 3.5.
I added Ajax reference to the project and I can see all Ajax toolkit in my tool box.
The problem that when I add tab container with Tab Panels then run the projects nothing appear on the browser and I tried few browsers.
I'm including…
Hi,
How to resize listview when main window is resized?
Sorry for editing.
Want to set the minwidth for gridviewcolumn. So the listview column is set to the min width when page is resized. Is it possible?
Thanks
SD
…
how can I get the selected text on the SelectionChanged event of the comboBox
here is my code
<ComboBox x:Name="cboRecordType" Margin="2,0" Height="23" Grid.Column="1" VerticalAlignment="Center" SelectionChanged="ComboBox_SelectionChanged">
<ComboBoxItem Content="Weight"/>
…
Sample code
<asp:Repeater>
<ItemTemplate>
<asp:ListView DataSource=<%# Container.DataItem.Items %> ... />
<asp:DataPager .... />
</ItemTemplate>
</asp:Repeater>
This does not work.
The repeater data source is not a datasource control
It is set…
I have a ListView in which one of the column contains combo box.
I have binded the selectedItem of a Listview, so that I get the current object (selected row ) in the listview.
When I do any operation in a combo box like selection change then the listview row ( in which that combo box belongs) is not…
Hi,
I've got a user control that I'm loading into a Window dynamically - I wanted to set the Window so that it didn't have a size and then I thought the window to resize accordingly depending on the UserControl. However it dosn't - can anyone assist please?
I've made a very basic example - I've cut…
I want to create a basic user control with a style programmatically.
In this style i want to add a Grid (no problem), but i dont can add column definitions to this grid.
My example code is
ControlTemplate templ = new ControlTemplate();
FrameworkElementFactory mainPanel = new…
Visibility.Collapse doesnt work in my case. below is the XAML. If i try to hide the lblCountry and cmbCountry a white space is shown between zip and practice fields. There is no option to hide an entire row of a Grid.
<Grid>
<Canvas Name="canDemographic" >
…
I have a WPF Menu and a Tab control. I would like the list of menu items to be generated from the collection of TabItems on my tab control. I am binding my tab control to a collection to generate the TabItems. I have a TabItem style that uses a ContentPresenter to display the…
Trying to create a custom cyclical horizontal manager which will work as follows. It will control several field buttons where the buttons will always be positioned so that the focused button will be in the middle of the screen. As it is a cyclical manager once the focus moves…
Hello, I am a seasoned C and Java programmer, but an absolute WPF newbie.
I am creating a kiosk application that will display a list of images of products that the user will click to see product details and maybe place an order.
I am trying to structure my app with MVVM…
Hello
I have a simple class. When I use it in winforms binding, whenever I change a value of a cell and leave the cell, the property immediately get changed.
Using WPF Datagrid, whenever i change a value of a cell, the property gets set only after I leave the row. That…
I've got a custom Button class, that always performs the same action when it gets clicked (opening a specific window). I'm adding a Click event that can be assigned in the button's XAML, like a regular button.
When it gets clicked, I want to execute the Click event…
I have ListView control in my application which is binded to the collection of CustomObject List<CustomObject. The CustomObject has seperate view. This ListView has seperate view model.
The collection List _customobject is containted in the ListView…
I would like to create the following behaviour in a ScrollViewer that wraps ContentControl:
When the ContentControl height grows , the ScrollViewer should automatically scroll to the end. This is easy to achive by using ScrollViewer.ScrollToEnd().…
Is there any property , option available in the date picker control so that if user want to select today from any date from current date ?
e.g if user is view current month of last year then he has the option to select current date ?
I have a button with a backgroun image of color white. My button is sitting on the toolbar which has a bacground color of Blue. When the button is sitting on the toolbar, the button looks white, however I want it to look like blue as the the…
I want to implement a Hierarchical data bound control for ASP.NET.
I used Implementing IHierarchy Support Into Your Custom Collection as a basis to create my hierarchical collection. I also created a HierarchicalDataSourceControl for the…
I have a rather large application that has literally a hundred DDLs with Yes / No ListItems. In an attempt to same myself some time, I created a Custom Control that extends the standard DDL.
It all seems to work fine but I am having some…