Telerik Forums
UI for WPF Forum
1 answer
177 views

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!

Franz
Top achievements
Rank 1
 answered on 30 Jun 2015
9 answers
343 views
Is it possible to have the schedule view show a hierarcy of group descriptions where each group has it's own sub groups?

For example can we have it for several Dentist Surgeries that have different dentists that can have appointments assigned from a central location

The hierarchy would be

DateGroupDescription
- Surgery A
-- Dentist A
-- Dentist B
-- Dentist C
- Surgery B
-- Dentist D
-- Dentist E

This would allow us then to filter on Surgeries, amongst other requirements that we need to fulfil.
Rosi
Telerik team
 answered on 30 Jun 2015
1 answer
176 views

Hi Team,

    I am using RadTreeview with HierarchicalDataTemplate using MVVM. How can i add node under the selected node.

Thanks

Sankar a

 

 

Milena
Telerik team
 answered on 30 Jun 2015
3 answers
197 views

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 :)

Dimitrina
Telerik team
 answered on 30 Jun 2015
1 answer
141 views
Hello ,

I have a cluster Bar series with 2 clusters or may 3 clusters. Now I want one more reference line, like we have on the bullet chart on these clustered bar series. Is it possible in telerik? . I think its combining the cluster bar series feature and reference line feature of bullet chart. 

Please see the attachment of the kind of graph I am expecting. 
Petar Marchev
Telerik team
 answered on 30 Jun 2015
3 answers
223 views
When trying to do a loadlayout on a RadDocking control, it will throw an ArgumentOutOfRangeException. This exception is thrown, due to II use custom controls in the RadDocking Control. I also saw this thread, http://www.telerik.com/community/forums/silverlight/docking/loadlayout-argumentoutofrangeexception.aspx. The thread mentioned, is about SIlverLight and I use the WPF version. So is this a known bug, or is there maybe a workaround available?
Nasko
Telerik team
 answered on 30 Jun 2015
1 answer
758 views

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.

Chuck
Top achievements
Rank 1
 answered on 29 Jun 2015
5 answers
244 views
Hi,

We are currently using the tabcontrol with IsContentPreserved="true".  This works beautifully at preserving the viewmodels, that is until we drag the tabs to re-order them.  When the tabs are reordered the tab being dragged loses it content and the viewmodel is recreated.  As a result a user loses all their data etc.

Background
  • We are utilising the CINCH V2 MVVM framework which makes use of MEF as a viewmodel locator
  • Our viewmodels are all set to non-shared (in MEF) and are set to the views datacontext via

    meffed

     :ViewModelLocator.ViewModel="{x:Static ViewModels:ViewModelKeys.MainWindowViewModel}"

  • Our tabcontrol has it's item source bound as ItemsSource="{Binding Views}"
  • We dynamically add tabs programmatically via

var workspace = new ValidatingAwareWorkspace(null, viewToDisplayInTab, workspaceDataParameter, tabLabel, true);

 Views.Add(workspace); 

  • This also uses MEF to determine which view to display via the key "viewToDisplayInTab" and displays that view on the tab via the following datatemplate

<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

 

Martin Ivanov
Telerik team
 answered on 29 Jun 2015
2 answers
138 views

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

 

Vikas
Top achievements
Rank 1
 answered on 29 Jun 2015
1 answer
106 views

I've installed the Q2 2015 msi on my dev box.

I am trying to build the new ExamplesCS_WPF solution and getting the following errors:

RadTreeViewItemStyle and RadToolBarStyle not found

This occurs in Telerik_UI_for_WPF_2015_2_623_Demos\Examples\Docking\FirstLook\Example.xaml

I have to comment out those styles to build. 

Can anyone offer a solution to this issue?

Thanks!

 

Kalin
Telerik team
 answered on 29 Jun 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?