Hi,
That's really frustrating, some days ago I felt on a tutorial page on how to animate grids (or contentcontrol...I don't remember).
...and now that I need this page I can't find it again ;-)
There was an illustration like this (light blue squares)
The principle being to animate scale in/out...
Hi,
I have to create some ContentControl code behind and be able to change their content and their DataTemplate according to their data type (image or text)
(So, I've created a ContentControl code behind, given it (code-behind too) a style from the XAML. In this style I've set DataTemplates)...
Hi,
I have an XAML document that I have to read from a MemoryStream (for the purpose of the example, I load a XAML file to a memorystream)
Here is a shortened version of the XAML file:
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
I am (I have to) using an XAML file as a resource from my main window.
In this simplified example, the XAML file looks like this
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="themeGrid">
<Image...
Hi,
I can't get to bind to an element name inside a Windows.Resources
I have a grid (with elements inside) in Windows resources.
Among the elements I have a border with an image inside and another border whose background visualbrush visual is binded to the first border (with a render transform...
Hi,
I'm trying to set the Primary Display...without success!
Here's the code I'm working on, would you please help me see what I'm doing wrong there?
There's no compilation error...it simply doesn't give the expected result!
Thank you!!
Imports System.Runtime.InteropServices
Class MainWindow...
Would you please help me with this scenario:
On stage, 2 listboxes and a textbox.
1.The first listbox lists all the items available, the list is grouped by 'Type' and its source is a binded XML file (read only).
2.The second listbox list all the items the user has dropped into from ListBox#1...
Hi,
I'm using SharpDX for DirectInput joystick management...and I can't resolve the problem I get while setting cooperative level
Imports SharpDX
Imports SharpDX.DirectInput
Imports System.Windows.Interop
Class MainWindow
Private Sub Window_Loaded(ByVal sender As System.Object, ByVal e As...
Hello,
My WPF application (WpfApplication1) is, for its XAML part, composed of an single empty grid.
Elements are loaded inside this grid from an external XAML file, read through XamlReader.
This external Xaml file contains (for the purpose of this example) a URL to an image which should be...
Hi,
I'm creating a carousel using a PathListBox.
Everything's working fine..if I use buttons (and Interaction.Behaviors)
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...
Hi,
One of the users of my application is complaining that he can't open the application.
He gave me the debug output of the crashed application...unfortunately I'm not an expert and have difficulties to manage it...would you please give me some help and help me understand why the...
I've a big interrogation concerning sound playback (WMP.lib)!
This code should play a sound, then compute...but it computes then play the sound!
Class MainWindow
Dim writingPath As String = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\_UI Sounds\"
Dim...
Hi,
I have to get a directory file list, filtered on multiple extensions...and sorted!
I use this, which is the fastest way I've found to get dir content filtered on multiple extensions:
Dim ext As String() = {"*.jpg", "*.bmp","*png"}
Dim files As String() = ext.SelectMany(Function(f)...
Hello,
How do I please control (start, stop, pause, go to specific time) a controltemplate storyboard inside a custom control..by code?
The XAML:
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...
Hi,
I'm working on loading xaml code at runtime.
Until now, I can do it with XAML files which are set as "Resource"...but I would like to load it from a user's folder (let's say the "Desktop Folder" for example)
How should I please proceed?
The XAML example file, loaded as resource file in my...
Hi,
I have an application which is entirely driven by keyboard (no mouse!).
In that application there's a "complex" menu where people browse buttons with...the keyboard.
Until then, browsing the buttons was done with the arrows key. I had nothing to code as, by default, this is properly managed...
Hi,
I've got a lot of XAML (vector) graphic elements.
I would like 1 graphic to be loaded dynamically, according to conditions met in the program.
In clear, I would like "GraphA" to be displayed if user has chosen "A", "GraphB" displayed if user has chosen "B"...etc
My question is:
How can I...
Hi,
In my application, the user has to navigate through RadioButton's group using the keyboard
By default, the arrow keys are used to navigate and the space bar used to select the radio button.
I would like the 'select' key to be another keyboard key!
How should I please process to switch the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.