Telerik Forums
UI for WPF Forum
3 answers
273 views
Hello,
In download page, there are:
================
WPF 3.5 - Automatic Installation (msi 124 MB)
WPF 3.5 - Manual Installation (zip, 125 MB)
WPF 3.5 - DLLs only (zip, 10383 KB)
WPF 4 - Automatic installation (msi, 121 MB)
WPF 4 - Manual installation (zip, 125 MB)
WPF 4 - DLLs only (zip, 10414 KB)
================
My question is, what's the difference between "WPF 3.5 - Automatic Installation " and "WPF 4 - Automatic installation"? I have VS2010 installed in my computer, if I do development, which one should I use? Which one is better?

Thanks a lot!
Tim
Pavel Pavlov
Telerik team
 answered on 30 Sep 2010
1 answer
110 views
When you have a DocumentHost and you drag one of the documents to create a new PaneGroup (using the compass), RadDocking dynamically creates a new PaneGroup. What is the recommended way to get a reference to it when it is created? I would like to add an event handler and set some other properties. I'm not seeing an obvious way of doing this.

Also, then you have multiple PaneGroups, each has a SelectedPane property. Is there any way to determine which RadPane is actually the one that is currently selected/has the focus?
Miroslav Nedyalkov
Telerik team
 answered on 30 Sep 2010
3 answers
95 views
Why does a window opened with ShowDialog set my MSN to "busy"?

If I turn off "showme as 'BUsy' when i'm running a full-screen program or presentation settings are turned on" in messenger, that seems to fix it. Are modal dialogs secretly full-screen? or do they have some sort of presentation settings?
Miroslav Nedyalkov
Telerik team
 answered on 30 Sep 2010
3 answers
526 views
I display a collection of items in a RadGridView, each having a collection of parameters of possibly different types.

It works quite nicely if I use the resource definitions below along with an identical definition for each of the parameter columns:

01.<t:RadGridView.Resources>
02.    <DataTemplate DataType="{x:Type vm:AnalogParam}">
03.       edit template definition....
04.    </DataTemplate>
05.    <DataTemplate DataType="{x:Type vm:DigitalParam}">
06.       edit template definition....
07.    </DataTemplate>
08.    <DataTemplate DataType="{x:Type vm:DummyParam}">
09.       edit template definition....
10.    </DataTemplate>
11.      
12.    <DataTemplate DataType="{x:Type vm:AnalogParamDisplay}">
13.       display template definition....
14.    </DataTemplate>
15.    <DataTemplate DataType="{x:Type vm:DigitalParamDisplay}">
16.       display template definition....
17.    </DataTemplate>
18.    <DataTemplate DataType="{x:Type vm:DummyParamDisplay}">
19.       display template definition....
20.    </DataTemplate>
21.      
22.    <DataTemplate DataType="{x:Type bo:DigitalParamDesc}" >
23.       header template definition....
24.    </DataTemplate>
25.    <DataTemplate DataType="{x:Type no:AnalogParamDesc}">
26.       header template definition....
27.    </DataTemplate>
28.</t:RadGridView.Resources>
29.<t:RadGridView.Columns>
30.    .....
31.    <t:GridViewDataColumn Header="{Binding Descriptors[4]}" IsReadOnly="False" IsFilterable="False">
32.        <t:GridViewColumn.CellTemplate>
33.            <DataTemplate>
34.                <ContentPresenter Content="{Binding Params[4].DisplayWrapper}" />
35.            </DataTemplate>
36.        </t:GridViewColumn.CellTemplate>
37.        <t:GridViewColumn.CellEditTemplate>
38.            <DataTemplate>
39.                <ContentPresenter Content="{Binding Params[4]}" />
40.            </DataTemplate>
41.        </t:GridViewColumn.CellEditTemplate>
42.    </t:GridViewDataColumn>

Because the number of parameters in the grid is variable, I would like to add the columns programmatically instead of defining them in XAML.

How do I do that?
Maya
Telerik team
 answered on 30 Sep 2010
3 answers
169 views
Is there anyway to determine which panel is in the most forward facing position? 

Thanks,

blair 
Milan
Telerik team
 answered on 30 Sep 2010
1 answer
76 views
Hi,

I am using RADCalander of wpf,i want to apply style(color) to type of the day.
Ex:
Sun--Red color
Mon-Blue color
Tue--Green color

Could you please help me to sort out this.Its urgent.
Dani
Telerik team
 answered on 30 Sep 2010
1 answer
134 views
Hi

Let's say I have a bar-chart with two bar series. An AxisX (Product categories) and Cost and Sales (on the same AxisY).
On ItemClick event I'd like to determine which bar the user clicks. Cost or Sales?
I can find X and Y values from event args but I cannot determine if it is the Cost-bar or Sales-bar.

How can I do this?
Evgenia
Telerik team
 answered on 30 Sep 2010
2 answers
114 views
Hi,

I have some functionality that sets up the grouping in a grid with some code. I create a GroupDescriptor and add it to the grid's GroupDescriptors. However, when I group this way, rather than by dragging a header into the group panel, the aggregate functions defined in my GridViewDataColumns are not applied. 

I'm guessing that I have to manually add all these aggregate functions to my group descriptor. However, I wanted to check if there is an easier way.

Thanks!
Geoff Smith
Top achievements
Rank 1
 answered on 30 Sep 2010
2 answers
145 views

I would need to use activeX control to open swf files inside application. It works without problems when doesn´t use RadDocking. But when I use RadDocking, activeX control won´t display.

I tried to use another ActiveX cntrols and it doesn´t work always when using RadDocking. Does anybody know please how to solve it?

My sample code:

MainWindow.xaml

<Window xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
        xmlns:telerikDocking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"
        xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"       
        x:Class="TelerikDocking.MainWindow"
         
        Title="MainWindow" Height="350" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <telerikDocking:RadDocking Grid.Column="1"
                                   VerticalAlignment="Stretch"
                                   HorizontalAlignment="Stretch"
                                   telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True">
            <telerikDocking:RadDocking.DocumentHost>
                <telerikDocking:RadPaneGroup>
                    <telerikDocking:RadDocumentPane Header="Preview" x:Name="pane_preview_"  Title="Preview">
                        <Border x:Name="telerik_border"
                                BorderBrush="Black"
                                Background="Transparent"
                                ClipToBounds="True"
                                BorderThickness="1.5" />
                    </telerikDocking:RadDocumentPane>
                </telerikDocking:RadPaneGroup>
            </telerikDocking:RadDocking.DocumentHost>
            </telerikDocking:RadDocking>
         
            <Border x:Name="border" Grid.Column="0" />
    </Grid>
</Window>

MainWindow.xaml.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Forms.Integration;
using System.IO;
 
namespace TelerikDocking
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            WindowsFormsHost host = new WindowsFormsHost();
            FlashPlayer player = new FlashPlayer();
            player.LoadMovie(Directory.GetCurrentDirectory() + "\\00.swf");
            host.Child = player;
            border.Child = host;
 
            WindowsFormsHost host2 = new WindowsFormsHost();
            FlashPlayer player2 = new FlashPlayer();
            player.LoadMovie(Directory.GetCurrentDirectory() + "\\00.swf");
            host.Child = player2;
            telerik_border.Child = host2; 
        }
    }
}

FlashPlayer.cs

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace TelerikDocking
{
    public partial class FlashPlayer : UserControl
    {
        public FlashPlayer()
        {
            InitializeComponent();
            axShockwaveFlash1.Dock = DockStyle.Fill;
            axShockwaveFlash1.IsAccessible = false;
            axShockwaveFlash1.EmbedMovie = false;
            axShockwaveFlash1.Playing = false;
        }
 
        public void LoadMovie(string strPath)
        {
            axShockwaveFlash1.LoadMovie(0, strPath);           
        }  
    }
}

Miroslav Nedyalkov
Telerik team
 answered on 30 Sep 2010
4 answers
206 views
Hello,

I am looking for the following functionality
I have two treeviews which are bound to two different collections. I want that when I drag the item from one treeview to another it (the item) should move to the other treeview in the hierarchy level I drop it to, with the drag effect .
Can this be achieved ?
Any code sample will be helpful.


Ryan Black
Top achievements
Rank 1
 answered on 29 Sep 2010
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
SplashScreen
Rating
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?