Advanced Forum Search Results
-
For second one, RaisePropertyChanged("SelectedDelartment"); is typing mistake. Should be RaisePropertyChanged("SelectedDepartment");
When I run it, there is no error, but there is no data for combobox. but with the first one, it works fine.
Because there are many lookups, so I use antonymous delegate for code ...
-
I have a lookup table Departments and I try to load it to feed a combobox for dropdown. The code as blow and it's working fine:
LoadOperation<Departments> lod = this.MyContext.Load(this.MyContext.GetDepartmentsQuery());
lod.Completed += delegate(object sender, EventArgs e)
...
-
thank you, sir.
-
Figured it out. It's working now. Thanks, guys.
-
In Database, I have a table Phone like Phone(AreaCode, Exchange, Number). Through EF and Ria Service, I can get a entity class Phone which has implemented INotifyPropertyChange.
Then I create a VM for person including HomePhone property as below:
Public Person : INotifyPropertyChange
{
//.... ...
-
Is there any way to change time interval params for tooltip for:
1. When mouse moves in the control, how long the tooltip will come out(popup)
2. How long the tooltip will display even when the mouse moves out of the control?
-
Suppose I create a lookless custom control and its template is defined in generic.xaml. There is a couple of VisualState defined in template.
Then When I use this control in user control, I want to set this control to specific VisualState. How Can I do it in xaml or code behind?
-
yes, I can put it inside xaml in the user control. but that is something like hardcode. that's why I want to create a style for it in resource dictionary, but I can't find out example to do it.
-
TooltipService.Tooltip it too simple. Just set it as string as content of tooltip. That is not want I want. I want to customize the popup for the tooltip.
-
I want to set tooltip for textlock dynamically. Here is my idea:
1. Create my own template for tooltip, say it is a user control mytooltip.xaml with Title and Content.
2. Set style in resource dictionary for TextBlock to use above user control as tooltip template.
<Style x:Key="MyTextBlockWithTooltip" ...