Tagged Questions
0
votes
1answer
17 views
Animating multiple objects in Expression blend
I created a game for windows 8 app where a box is on the screen and the when the user picks the mode they want to play on the clock starts and images will fly up from a box and the user must click on ...
-1
votes
0answers
47 views
How would I programmatically create this XAML element in c# behind WPF?
UPDATE: I ended up using a datatemplate containing what I needed, and then I used data binding to show the elements in a list.
I am slightly new to the wonderful world of wpf, and my problem here is ...
0
votes
1answer
41 views
ListPicker SelectionChanged gets called multiple times
the ListPicker is a Control from the WP8 Toolkit.
Code:
private void field_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
// Make sure we don't handle the event during ...
3
votes
6answers
82 views
How to make splash screen appear for longer
I have an app that I am working on. I need the splash screen to display for atleast 1 full second (3 seconds maximum is preferred) - just long enough for you to be able to have a glimpse of the entire ...
2
votes
0answers
26 views
Blurred textblocks when used in animations
I am simulating the semantic zoom effect in a Windows Store app using animations between two canvas'. However when I "zoom out" the TextBlock that appear on the canvas, appear as VERY blurry until the ...
1
vote
2answers
40 views
What are the core properties of a UIElement in WPF?
According to MSDN:
A child UIElement begins the layout process by first having its core properties measured.
Sizing properties defined on FrameworkElement are evaluated, such as Width, Height, and ...
0
votes
1answer
30 views
Page-turning transitions for Windows Phone 8 apps
How do I get that page turning effect when I swipe left or right inside my app? I've seen it done before, but when reading up on Page Transitions and Storyboard animations, I just don't see how they ...
0
votes
3answers
24 views
Xaml Converter and displaying “Select a Date” in the DateTimePicker
In a wpf application, i bound some dateTimePicker.
I would like to create a converter in order to display the famous line "select a date" in the dateTilmePicker when the date is 31/12/2999.
I created ...
0
votes
1answer
39 views
Change AppResources in design time
I am trying to change the display language in design time in windows phone. Basically, I have two AppResources files each populated with localized strings. In my text boxes I have bound it like this:
...
0
votes
1answer
25 views
How to bind commands(for example hotkeys like F7) dynamically in xaml
I have the following xaml that loads the menus and menuitems , but is there a way to bind a command/inputgesture without having to use a stackpanel? CmdParam is the property in my VM that has the ...
-1
votes
1answer
37 views
Set the minValue directly in a DateTimePicker
Is there a way to set a minValue directly in a DateTimePicker and not in a DateTime.
I use WPF and dotnet 4.0.
3
votes
2answers
2k views
WPF UserControl with generic code-behind
I have this code behind:
CustomUserControl.xaml.cs
namespace MyProject
{
public partial class CustomUserControl<T> : UserControl
{
...
}
}
and this xaml:
...
-2
votes
0answers
55 views
Regex Validation in Textbox [closed]
I need to validate certain regular expression depending upon text of textbox and change foreground of text accordingly.
Is there any solution for this one. I'm new to wpf and dont know much about ...
0
votes
0answers
11 views
ListView in FlipView Windows 8 Metro App C#
i'm developing a currency app which takes currencies from 5 different sources. The problem is that i'd like to show them page to page in flipview.
Here's my code to read currency xml to listview;
...
0
votes
0answers
9 views
RadRichTextBox Foreground color
im tryin to set my Foreground color but its not working.
<telerik:RadRichTextBox Foreground="White" Background="{DynamicResource HGERPToolbarBackground}" Margin="3" Name="bemerkungAdrTextBox" ...