Telerik Forums
UI for WPF Forum
1 answer
172 views
Hi
We have UI for WPF 2014 Q2-SP1 and are experiencing issues with adding controls to our UI.

If we create a project WITHOUT implicit styles we get all the required components in the VS2013 toolbox and can drag and drop these components into our UI.
We would like to use the new VisualStudio 2013 Themes so need to use implicit styles and this is where to problem arises.

If we create a project WITH implicit styles we get the Telerik UI for WPF 2014 Q2 group in the tooblox but there are no draggable components in here only components with <> in front of them.

We have tried creating a simple RadButton control in a grid by manually adding to the XAML but we get the following error in the console:
The type 'telerik:RadButton' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

We might not be understanding the Telerik instructions on using implicit styling but we assume you should still have toolbox controls.
We have reset the toolbox with the Telerik tools as well but the components when using implicit styling just doesn't appear or work manually.
Any help would be greatly appreciated :)


Yana
Telerik team
 answered on 28 Oct 2014
5 answers
246 views
Hi, 

This is my scenario: I have a Diagram and I do  Diagram.BringIntoView(new Point(0,0), zoom, false), but when I do Diagram.AutoFit(new Thickness(0, 0, 0, 0), false), my Diagram back to the original position (without zoom) as if the function BringIntoView() doesn't work. I need that the Diagram will be in center and with zoom. 

Thanks, 

Maite.
Pavel R. Pavlov
Telerik team
 answered on 28 Oct 2014
1 answer
153 views
I need to create an apps with UI similar with Telerik UI  - 2013 Demo App style complete with side panel. Any tutorial or samples?
Yana
Telerik team
 answered on 28 Oct 2014
5 answers
319 views
I'm using RadWindow as main window of a wpf application. Switching theme of all other controls at runtime using implicit styling approach works great. But i can't switch theme of main window?!? Is there any way to get this working?
Kalin
Telerik team
 answered on 28 Oct 2014
1 answer
253 views
 I have RadCartesianChart : 
 <chart:RadCartesianChart  Zoom="{Binding Zoom, Mode=TwoWay}" HorizontalZoomRangeStart="1" HoverMode="FadeOtherSeries"
                                  PanOffset="{Binding PanOffset, Mode=TwoWay}" Palette="Windows8" Margin="150,68,10,10" Grid.RowSpan="2">
                
                <chart:RadCartesianChart.HorizontalAxis>
                    <chartView:CategoricalAxis MajorTickInterval="200" >
                    </chartView:CategoricalAxis>
                </chart:RadCartesianChart.HorizontalAxis>
                <chart:RadCartesianChart.VerticalAxis>
                    <chartView:LinearAxis />
                </chart:RadCartesianChart.VerticalAxis>
                <telerik:RadCartesianChart.Behaviors>
                    <telerik:ChartPanAndZoomBehavior  ZoomMode="Horizontal"/>
                    <telerik:ChartTrackBallBehavior ShowIntersectionPoints="True" />
                </telerik:RadCartesianChart.Behaviors>
                <chart:RadCartesianChart.Grid>
                    <chartView:CartesianChartGrid MajorLinesVisibility="Y" StripLinesVisibility="Y" />
                </chart:RadCartesianChart.Grid>

                <volumeChart:ChartSeriesTypeSwitch.SeriesType>
                    <Binding Path="SelectedChartType" />
                </volumeChart:ChartSeriesTypeSwitch.SeriesType>
            </chart:RadCartesianChart>
Petar Marchev
Telerik team
 answered on 28 Oct 2014
1 answer
109 views
Is it possible to place a sparkline in a RadSpreadsheet cell?
Nikolay Demirev
Telerik team
 answered on 28 Oct 2014
1 answer
287 views
Hi,

i have to change the image of a GridViewCell dynamically.

<local:ImageDayConverter x:Key="DayConverter" />
        <Style x:Key="CellStyle" TargetType="{x:Type telerik:GridViewCell}">
            <Setter Property="Background" Value="red" />
            <Setter Property="BorderThickness" Value="0" />
            <Setter Property="BorderBrush" Value="{x:Null}" />
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate>
                        <Border BorderBrush="#f2f2f2" BorderThickness="0,0,0,2" Padding="0,5,0,5">
                            <StackPanel Orientation="Horizontal">
                                <Image Height="30" Source="{Binding DayImage, Converter={StaticResource DayConverter}}"/>
                                <StackPanel Orientation="Vertical" Margin="10,0,0,0" VerticalAlignment="Top">
                                    <TextBlock Text="{Binding Titel}" />
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock Text="{Binding Start}" Foreground="#9fa2ae"/>
                                        <TextBlock Text=" - " />
                                        <TextBlock Text="{Binding Startzeit}" Foreground="#9fa2ae" />
                                    </StackPanel>
                                </StackPanel>
                            </StackPanel>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

This is my Image:
<Image Height="30" Source="{Binding DayImage, Converter={StaticResource DayConverter}}"/>

How must the Converter look like? The Value of DayImage is a string "10,10,2014"

Thanks a lot
Best Regards
Rene
Dimitrina
Telerik team
 answered on 28 Oct 2014
3 answers
193 views
I created user control of the RadWindow with custom content and controls. The issue I'm having is when I show the dialog it can't get a way to return what the button the user returns. What occurs is as soon as the dialog shows up it always returns the default button without waiting for the dialog to close.

button click event for buttons:

private void Clicked(object sender, ExecutedRoutedEventArgs e)
        {
            ButtonType dr = (ButtonType)Enum.Parse(typeof(ButtonType), e.Parameter.ToString());
            this.DialogResponse = dr;

            dialogWindow.Close();
        }

common function on page:
public ButtonType ShowMessageDialog(string message, string caption, DialogButtonSet buttons, DialogIcon icon)
        {
            this.Style = null;
            this.DialogText = message;
            this.DialogButtonType = buttons;
            this.HeaderImageIcon = icon;
            this.DialogTitle = caption;
            this.ButtonClickPreview = null;
            this.MessageBox.Visibility = Visibility.Visible;
            this.CustomContent.Visibility = Visibility.Collapsed;
            this.Launched = true;
            this.ClearPushdown();
            this.ShowDialog();                     <===== I want the code to stop here until window closes
            return this.DialogResponse;
        }

Nasko
Telerik team
 answered on 27 Oct 2014
10 answers
188 views
What is the best way to modify the styles or templates to allow exclusive room for the Group Headers vertically?  It seems that depending on the size of the window, the tiles expand to overlap the area that I would have expected to be reserved for the Group Header. 

Thanks
Paul
Maya
Telerik team
 answered on 27 Oct 2014
1 answer
318 views
We're using the ControlPanelItem option on our RadGrids. For actions you want to apply to the grid it's great (e.g. column visibility, filter options). But how can we bubble up the button click to the view model instead? The button's context seems to be bound to the grid and thus captures the click event... how can we tell the button to use the view model instead so that the click can be captured there (we're using Caliburn Micro for binding, but could be anything).

Thanks,

Steve
Dimitrina
Telerik team
 answered on 27 Oct 2014
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
InlineAIAssistant
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?