Is Everyone Writing Converters?
Wed, 7 Mar 2007 13:13:19 +0000 (UTC)
I am writing some XAML where the data I am binding needs some formatting
(e.g. numbers, dates, etc.). If my rounds through the books and web are
correct, WPF expects me to write converters for simple formatting. Maybe
I've missed it, but is there a simple string converter in the framework?
I know I can ...
|
Bindings to online: how to change them with network conditions
Tue, 6 Mar 2007 12:31:16 -0800
XmlDataProvider, and boom, your application quickly blurs the line between
the desktop and the web. Unfortunately, the experience quickly degrades to
underwhelming as the user pulls the network plug. The offline experience
needs to be just as compelling as the online experience, and hopefully a
seemless t ...
|
XAML Binding / Animated Expander
5 Mar 2007 21:24:56 -0800
Hi,
I'm trying to create an Expander that animates it's open/close.
So far, I've got what's below, which will animate the opening and
closing, but it will open to a fixed height of 150 for the content
(see "ExpandMe" story board). I want to make it so that it opens to
the auto content height.
Can anyone he ...
|
WPF custom user control
Sun, 4 Mar 2007 21:58:06 -0800
I am in the process of developing a custom user control derived from Control.
It has textbox and a button. I managed to catch the button click. To dothis I
have implemented dependecy properties and routed commands.
Eg: in my generic.xaml
<RepeatButton Command="{x:Static
local:myInputBox.KeyPressComma ...
|
Accessing built-in (Aero, Luna, etc) named styles
Sun, 4 Mar 2007 19:42:19 -0600
I've got an app with some standard controls (forward/backward buttons,
min/max/close buttons) that I would prefer to take on the look of the native
OS. I have to put these controls in other style templates manually, so I
can't let the underlying framework load the right look itself. I'm trying to
find some ...
|
blend & animations
2 Mar 2007 07:45:37 -0800
Hi,
Is it possible to adjust the 'RepeatBehavior' and 'AutoReverse'
properties of DoubleAnimations using blend? I find myself switching
back to xaml, while it would be quicker to have storyboard or
animation properties to change these settings.
Greetings
...
|
Accessing an Array element(i) from a XAML "binding path"
Thu, 1 Mar 2007 15:16:30 -0600
Hi,
I"m using WPF and trying to access an array element from my XAML
Binding Path. I've got a class AuctionItem with an integer array named
index and a integer named index0.
<DataTemplate DataType="{x:Type src:AuctionItem}">
...
I can access a property named "index0", but I want to access "index(0)"
This wor ...
|
|
|
ComboBox Binding to DataClass
Thu, 1 Mar 2007 05:24:12 -0800
I use a custom LoginCommandData Class to initalize a LoginDialog.
Public Class LoginCommandData
Inherits DependencyObject
Implements ComponentModel.INotifyPropertyChanged
Private m_Mandators As IList
Private m_Mandator As Common.Data.Mandator
Public Property Mandators() As IList
Get
...
|
can't serialize ViewPort3d child elements...
Thu, 1 Mar 2007 11:53:38 -0000
hi,
i have a 3d-land thing going, and i want to serialize all the objects in the
scene with XamlWriter. the objects are added as children of a ViewPort3D.
i tried serializing ViewPort3D.Children which is a Visual3DCollection but
this can't be deserialized because it has no default constructor (the
XamlRe ...
|
Book recommendations
Tue, 27 Feb 2007 19:43:30 +0100
Hello all,
Could you guys give me a couple of book recommendations on WPF. I've read
some great reviews of Adam Nathans Windows Presentation Foundation
Unleashed. I can get that together with applications = code + markup: a
guide to the microsoft windows presentation foundation (pro - developer).
Would ...
|