I got this exception and don't know what to do with it.
I'm using TreeListView that I found on the net
<tv:TreeListView x:Name="listView" ItemsSource="{Binding TreeRoot}" Margin="5" Width="640" Height="732">
</tv:TreeListView>
Does someone had this exception ?
...
I want to create some kind of simulation. There will be numerous sprites floating around. Because I think that rendering every frame thousand times the same primitives which make up a sprite, will be slow, I want render them once into a bitmap and then show this sprite every frame.
But it doesn't seem to work, the screen stays white.
M...
this is my code:
<Window x:Class="WpfApplication1.Window2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window2" Height="300" Width="300">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="60*" />
<RowDefinition Height="202*" />
...
Hi guys,
I am totally new to WPF. I learned that Blend is a tool that is used to design UI for WPF applications.
Is there a standard procedure to follow while designing UIs ?
Can you give demo examples of UI with source code?
...
I am working on an application where Repository objects are displayed via a DataTemplate that contains a modified version of a TextBox, which supports binding to the SelectionStart, SelectionLength, and VerticalOffset.
The DataTemplate looks like this:
<DataTemplate DataType="{x:Type m:Repository}">
<controls:ModdedTextBox
x:Name="tex...
Hi,
My app. contains the window in the picture:
The ItemsSource of the DataGrid is set to _editList ( declared as IList < Vendor > _editList;).
The data grid is set to Read Only.
The Vendor Name text box has the binding set as :
Text="{Binding ElementName=dataGridVendors, Path=SelectedItem.Name, Mode=TwoWay}"
This works wel...
Hello...
I am developing a small appplication which is single windowed...
I have formated everything with care .. The window contains a grid which has 2 columns.. The second is auto and the first is of type *.(takes the remaining space)
Is there a way to change the content of the first column ?(to display a chart for example)
The only ...
Hello, and sorry if that was asked before,
With a WPF Frame Control I can display a website. WPF appears to delegate Rendering to the resident IE installation.
Unfortunately it appears that when I click some link in the displayed page, WPF does not register this as Navigation, e.g. Navigating event doesn't fire. I can almost imagine w...
Probably a simple question, but my brain isn't working today.
I am writing a small powershell script to do various tasks. These tasks are logically grouped into tabs, using a WPF TabControl.
A couple of the tabs do some checks to compare local file dates with server file dates, which takes a bit of time. (Only a few seconds, admittedly...
So when i have a Datagrid which i want to fill with data from my Database. I normally design a ViewModel with the Data i wanted to display. But how do i create an ViewModel for my Datagrid when i dont know before which data it will display in it ?
So when i allow the user of my application to specify the Columns from the database table ...
I have a service that retrieves to me a list of objects and the ID of one of them.
I'm binding them to a TreeView with hyrarchial template and I want the one that has the given Id to be with different color.
How can I do that ?
...
I'm binding an ItemsControl with Canvas as ItemsPanelTemplate to an ObservableCollection.
I want to make the items draggable using the DraggableExtender as posted in
http://stackoverflow.com/questions/294220/dragging-an-image-in-wpf
(I don't want to use transforms - I need to use the Canvas Left and Top properties)
It's defined as :
...
Hi, I have a textbox that has the following simple XAML (not necessary to read it - just have it for reference):
<TextBox Name="m_ctrlUserDeviceType" Style="{StaticResource textStyleTextBox}" Text="{Binding Source={x:Static api:MySettings.Instance}, Path=UserDeviceType, ValidatesOnExceptions=true, NotifyOnValidationError=true}" Validati...
Hi, I have a FlowDocument (inside a RichTextBox) that contains UIElement controls such as CheckBoxes. I need the user to be able to click on the CheckBox to select it to change the controls properties such as label, background color etc.
The problem I have is that when I click it it only checks, or unchecks the CheckBox as you would exp...
Hi,
I have the following window in my app:
The list is declared as : IList < Vendor > _editList; and the datagrid is populated via : dataGridVendors.ItemsSource = _editList;
The "New" button creates a new Vendor and adds the vendor the _editList. Vendor vendor = new Vendor(); _editList.Add(vendor);
Unfortunately.... the new ven...
Hi,
I have a listview like this and would like to access the textbox of SELECTED ITEM in side?
lsitview.blah.blah.findTheTextBox("blah").Name="good!";
How am I able to do that? Thanks
<ListView Name="listview">
<ListView.View>
<GridView>
<GridViewColumn>
<GridViewColumn.CellTemplate>
<DataTemplate>
...
Hi guys,
I have a listview with following column
<GridViewColumn Header="name" local:GridViewSort.PropertyName="Name">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBox Text="{Binding Name}" IsReadOnly="{Binding IsReadOnly}" Style="{StaticResource txtEditable}" KeyDown="SeqRenameTextBox_KeyDown" LostFocus="SeqRename...
Hello,
It seems that there is a path lenght limit for VS2008 when loading XAML assemblies.
Using the Microsoft sample Southridge, if the project is stored on "C:\Projects\C# samples\Southridge_Labs\1.Southridge_Fundamentals\Start" the designer does not load the assemblies.
But if I copy my files the project to the root (C:\Southridge_...
Hi,
I've got the following error when builing my project.
The type or namespace name 'OvuMenu' could not be found (are you missing a using directive or an assembly reference?)
But I have put a using in my code and a reference to the dll.
It is a WPF application that exists of 3 projects.
I checked the references, even intellisense wo...
I'm doing a VB.Net subject at university and the major assignment is the creation of a WPF application.
The application is management-focused (adding, modifying, deleting entries, etc). As these are all rather disparate tasks I'm thinking to create a tabbed interface for my assignment (in a similar vein to Spybot's interface: http://www...