Quantcast
Channel: Avalon
Browsing latest articles
Browse All 20 View Live

Adorner update issue while number of elements get higher

Hi, I encounter with a problem related to the update/refresh of the adorners on my elements. I have a ScrollView and put many elements into it. Basicly the adorners won't get refreshed while I put...

View Article



Enabling and Disabling animations easily;

I am trying to implement a way where I can easily enable and disable animations via application configuration. I came up with the following solution... public class AnimationControl { .....#region...

View Article

ContextMenu problem after XamlReader.Load()

I'm using XamlReader.Load to swap screens in my application. On my main canvas, I have a constructor that builds up a context menu with event handlers. The first time my app loads a screen everything...

View Article

This ought to be simple to do (WPF ToolTip problem)

I have this Image control on a WPF form, displaying a bitmap displaying some run-time generated stuff that the user can interact with. Now I want to display a ToolTip when the mouse hovers over the...

View Article

Rendering bitmap is Blurry in WPF

Hello, I am trying to convert some vector based objects into a raster bitmap. I manage to do that, but the result is blurry, meaning, edges are blurry instead of jagged. I assume an anti-aliasing...

View Article


Outlook style in WPF

Outlook style in WPF: Anybody got a link to a example of how to do this?

View Article

Advice requested - why doesn't this eventhandler get called?

I'm missing something simple. I want to hand craft my object hierarchy in code but I'm doing something wrong. This code displays properly but it does the MouseDown eventhandler never gets called. Any...

View Article

Convert BitmapImage to Bitmap?

How I can convert from System.Windows.Media.Imaging.BitmapImage(Avalon bitmap) to System.Drawing.Bitmap (.net Bitmap)?

View Article


Layout/Animation problem

Hello, I want to create a wizard like control that allows me to gather user input. I know what I want it to look like but I'm not quite sure how to accomplish it. Basically this is my control layout,...

View Article


Expose Inner Control of WPF Control

I have a WPF control (derived from System.Windows.Controls.Control) that I am creating, it will be used to apply a common look and feel to a form. I have defined the XAML (in Generic.xaml) as...

View Article

How to update an XBAP's config file after deployment?

Hallo NG! We have a WPF XBAP application that we want to change the configuration on the server after it is deployed. The config file is a part of the deployment. It is possible to open and edit the...

View Article

WPF and D3DImage and D3D surface has annoying Flicker?

Greetings, I am doing a project where I am copying a texture onto a D3D surface, and I am using D3DImage to use it in a WPF panel. Unfortunately I am getting a very noticable flicker when the image is...

View Article

WPF Application Framework

We are developing a WPF prototype where we are pulling together several of our applications into a single application portal. I am concerned with creating a single project that will house all of the...

View Article


VisualStateGroups Error

I am getting the following error when building my application: The attachable property 'VisualStateGroups' was not found in type 'VisualStateManager'. This reference comes from a theme I am applying to...

View Article

WPF Lookless control that inherits ComboBox - IsEditable problem

I've built a "lookless" control that inherits ComboBox. It has three dependancy properties (CountryCode, Label, and ListByName), and a ReadOnly property of DistrictList. Whenever CountryCode changes,...

View Article


Custom designer?

Hi! It seems like it is not crowded here, is it? :-) I need to write some application, which can change its own forms on the fly ( like MS Access ? ). So Iooked for ability to switch into the designer...

View Article

XAML Adorner and CalendarWeekPresenter - Drag Drop ????

Hello, I'm new to XAML with DotNet and would like to create a "drag drop" feature via the Adorner for a Calendar. Basically, I have entries under a particular day, and I would like to be able to "drag...

View Article


WPF MenuItem hiding

Hi, I would like to hide selected MenuItem on <Delete> key press without closing the menu. My markup is: <Menu> <MenuItem Header="Menu"> <MenuItem Header="First"...

View Article

How to draw a horizontal line without specifying X2??

I want to draw a horizontal line that fills up the entire available width of a grid cell. I don't want to explicitly specify the line's width (X2). How do I do this??? <Line Grid.Row="1"...

View Article

API Standards question: FrameworkElement.Focusable

Does anyone know why FrameworkElement.Focusable is not IsFocusable for consistency with the rest of WPF? I only noticed this recently (mainly because I've only just started messing with it but never...

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images