ListBox, Style & ContextMenu
Thu, 11 Oct 2007 02:16:00 -0700
Hi,
I have a problem. I am new to WPF and I thought I could set a ContextMenu
for my ListBox via a Style so I wrote sth like this:
<Window x:Class="TestTheTestStudio.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...
|
Hyperlink as button in gridview cell
Wed, 10 Oct 2007 17:32:32 -0500
Hi,
I've managed to include a hyperlink with a click handler in a databound
gridview cell like this...
<GridViewColumn Header="Title">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBlock>
<Hyperlink Click="Hyper_OnClick">
<TextBlock Text="{Binding Path=AttachmentTi ...
|
inherit controls in WPF
Tue, 9 Oct 2007 07:13:04 +0200
Hi,
I have a dialog with 2 TextBox controls.
I want to add some functionality to one of the them.
I created a class MyTextBox which inherits from TextBox.
How can I connect one of the TextBox controls to my new class ?
I tried to replace the line (created automatically) in "Window1.g.cs":
internal System.Win ...
|
LocBaml not creating valid csv file
Thu, 04 Oct 2007 19:49:08 -0000
I'm trying to use LocBaml to parse a satellite assembly into a CSV
file. I can use the tool to parse a satellite assembly in a test app
just fine, but when I try ot use it on a prototype of a larger WPF
project, it parses out a < 1Kb CSV file. I do not receive any errors
when running the utllity, just a very i ...
|
Problem with alignment of text in a listview
Tue, 2 Oct 2007 07:18:00 -0700
I am having problems getting a listview with a gridview to align the text
within a cell.
I downloaded the SDK sample "ListView That Uses a GridView with Templates
Sample" from http://msdn2.microsoft.com/en-us/library/ms771780.aspx
This includes a cell template that uses:
<DataTemplate x:Key="myCellT ...
|
MediaElement is playing half of what WMP can
Fri, 28 Sep 2007 08:13:00 -0700
Hi
I have media files ( avi, mpeg wmv ).
Windows media player is rendering better and playing more of them.
MediaElement plays some mpeg's and some it's not. Is there any way
that I can force to ME to play at least what Media player is playing?
...
|
HwndSource doubt
Wed, 26 Sep 2007 07:51:08 -0000
Through HwndSource ,can i get hardware acceleration for GDI
functions(as well as directdraw) ?
...
|
|
|
CustomControl and controlTemplate
Tue, 25 Sep 2007 23:05:44 +0200
I want to write a custom control which has a (dependency ?) property which
is an enum type, e.g. enum:.
public enum LookKindOfMyCustomControl
{
TwoRectanglesAndALine,
TwoEllipsesAndARectangle,
ThreeEllipsesAndTwoRectangles
}
(Just an example, the idea is that each of ...
|
ElementHost resulting in black area before update
Sun, 23 Sep 2007 23:32:28 -0700
I have had problem with ElementHosts resulting in that they don't get
initiated correctly but only shows a black area until deselected and
selected again (the problem seems to be that the creation of the
graphics isn't done in time for the first display). I couldn't find
any workaround on the net so here is my s ...
|
Alignment vs ContentAlignment
Sat, 22 Sep 2007 23:59:58 -0700
Consider a Window W, Button B, and TextBlock T where
W.Content = B
and
B.Content = T
T may be aligned inside B by setting B.HorizontalContentAlignment and
B.VerticalContentAlignment. However T.HorizontalAlignment and
T.VerticalAlignment have no effect.
B may be aligned inside W by setting B.Horizon ...
|