Hi,
I am new to learning WPF application programming, stemming from a Java and Matlab background.
In my sample application to learn GUI programming I created a simple menu for a simple round based strategy game seen in the attached menu.PNG.
Upon activation of one of the buttons I'd like to switch the screen shown into an appropriate second layer of menu. So in the case of the Single Player button it would open progress into a new menu with game options. How do I most effectively do this in XAML. The opaque rectangle alongside the buttons is arranged in a grid. So can I just disable this grid and load a new one that I define to be non-visible at first?
Or is there a better way to do this?
Thanks!
Hi Team,
I am using RadTreeview with HierarchicalDataTemplate using MVVM. How can i add node under the selected node.
Thanks
Sankar a
Hi I'm using the RadGridView to display some data to a custom SQL data provider.
I have to handle the filtering of the grid in an unbound manner, I was able to achieve this using the RadDataFilter together with the RadGridView.
I would rather like to use the built in filtering controls of the grid for composing the filters than using the RadDataFilter.
Using the RadDataFilter.FilterDescripters I could get the and translate them to our back end filtering contracts.
With the RadGridView I can also get the RadDataFilter.FilterDescripters and so the translation to our back end contracts,
but sadly I cannot get the RadGridView to NOT handle the actual filtering of the data, I want to disable the built in filtering engine and filter the data myself using the RadGridView .FilterDescripters.
Is there any way to achieve this, please :)
Hi,telerik:
I want to show some images in the listbox with VirtualizingWrapPanel and some will not. It depends on the property(IsDefault) that i have defined.
here is the code:
<
P
><
ListBox.ItemContainerStyle
><
BR
>
<
Style
TargetType="{x:Type
ListBoxItem}"><
BR
>
<
Style.Triggers
><
BR
>
<
DataTrigger
Binding
=
"{Binding IsDefault}"
Value
=
"true"
><
BR
>
<
Setter
Property
=
"Visibility"
Value
=
"Collapsed"
/><
BR
>
</
DataTrigger
></
P
>
<
P
> </
P
>
<
P
>
</
Style.Triggers
><
BR
>
</
Style
><
BR
>
</
ListBox.ItemContainerStyle
><
BR
></
P
>
but even through the value of the "IsDefault" is set to "true",the listboxitem still display in the listbox ,and the item is blank.
How do I do before they can get the effect I want?
Thanks and Regards,
Bill.
meffed
:ViewModelLocator.ViewModel="{x:Static ViewModels:ViewModelKeys.MainWindowViewModel}"
var workspace = new ValidatingAwareWorkspace(null, viewToDisplayInTab, workspaceDataParameter, tabLabel, true);
Views.Add(workspace);
<DataTemplate DataType="{x:Type CinchV2:WorkspaceData}">
<AdornerDecorator>
<Border HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Margin="2"
CinchV2:NavProps.ViewCreator="{Binding}"/>
</AdornerDecorator>
</DataTemplate>
What i'm after:
I understand that there are obviously a lot of factors at play here that could be breaking the IsContentPreserved when reordering tabs but i thought i would post here to see if you guys have any ideas because it only breaks when i set AllowDragReorder to true
Thanks,
Brock
I am having problem with FirstVisibleTime Property, I have set it to 8 but when the calendar is displayed it shows 12:00 AM. This property works is working for other calendars, there is really no difference between them. the only difference is that i have set the width of the claendar to 55 becasue i just want to use it to display the time ruler.
Vikas