Telerik Forums
UI for WPF Forum
10 answers
159 views
Hi!
I'm new here, and I just wanted to know how to change the "style" of a WPF application(e.g. for windows7, office_blue, ...?) like in demo? I don't need it at runtime.

I've VS2010 with the telerik rad controls for wpf installed(not the trial)

Thank you!
Miroslav
Telerik team
 answered on 05 Aug 2010
1 answer
104 views
Hi,

Is there any feature like "Cells with formulas" in gridview, the detailed information about the feature are listed below.

Cells with formulas - A cell can contain a formula (based in other cells of the same grid) and when a cell is modified, then the formulas are updated with the new information.

Thanks,
-Narendra
Maya
Telerik team
 answered on 05 Aug 2010
3 answers
119 views
I have a TreeView control that is bound to a XML source to populate the Tree about 3 nodes deep. Trying to search the Tree for a specific node or nodes containing that string but I can't seem to get an idea how. Has anyone done this using this control or has an idea how to go about doing it.
Hristo
Telerik team
 answered on 05 Aug 2010
1 answer
99 views
We have this code where we can switch from a pie to a bar.
The problem is: when we use the pie, the colors from the palette are used for each datapoint (4 different colors) and the legend shows the 4 datapoints in the serie.
But, switching to the bar, the colors are not used (we only get one color) and the datapoints (Nr1, Nr2...) don't show up in the legend.

        private BrushCollection _palette;

        public BrushCollection Palette

        {

            get { return _palette;}
            set { _palette = value; }

        }

        private void MakePallette()

        {

            Palette = new BrushCollection

                          {

                            new SolidColorBrush(Color.FromArgb(255, 106, 148, 200)),

                            new SolidColorBrush(Color.FromArgb(255, 238, 141, 61)),

                            new SolidColorBrush(Color.FromArgb(255, 145, 178, 80)),                         

                            new SolidColorBrush(Color.FromArgb(255, 255, 155, 152))

                          };

        }

        private void MakeChart()

        {

            RadChart radChart = new RadChart();s

            DataSeries dataSeries = null;

            MakePallette();

            foreach (Brush item in Palette)

            {

                radChart.PaletteBrushes.Add(item);

            }

           

            switch (ChartName) // determine what kind of data to display

            {

                case "A":

                    {

                        radChart.DefaultView.ChartTitle.Content = "All A";

                        switch (ChartNr)    // determine what kind of rendering (bar, pie...etc)

                        {

                            case 1:

                                dataSeries = new DataSeries { Definition = new PieSeriesDefinition() };

                                break;

                            case 2:

                                dataSeries = new DataSeries { Definition = new BarSeriesDefinition() };

                                break;

                        }

                        // Create a DataPoint

                        DataPoint dataPoint = new DataPoint { YValue = 8, Label = "8", LegendLabel = "Nr 1" };

                        dataSeries.Add(dataPoint);

                        

                        dataPoint = new DataPoint { YValue = 3, Label = "3", LegendLabel = "Nr 2" };

                        dataSeries.Add(dataPoint);

                       

                        dataPoint = new DataPoint { YValue = 10, Label = "10", LegendLabel = "Nr 3" };

                        dataSeries.Add(dataPoint);

                       

                        dataPoint = new DataPoint { YValue = 25, Label = "25", LegendLabel = "Nr 4" };

                        dataSeries.Add(dataPoint);

                    }

                    break;

                case "B":

                    {

                        radChart.DefaultView.ChartTitle.Content = "All B";

                        switch (ChartNr)    // determine what kind of rendering (bar, pie...etc)

                        {

                            case 1:

                                dataSeries = new DataSeries { Definition = new PieSeriesDefinition() };

                                break;

                            case 2:

                                dataSeries = new DataSeries { Definition = new BarSeriesDefinition() };

                                break;

                        }

                        DataPoint dataPoint = new DataPoint { YValue = 36, Label = "36", LegendLabel = "Krediteringer"};

                        dataSeries.Add(dataPoint);

                       

                        dataPoint = new DataPoint { YValue = 14, Label = "14", LegendLabel = "Rettelser"};

                        dataSeries.Add(dataPoint);

                        

                        dataPoint = new DataPoint { YValue = 369, Label = "369", LegendLabel = "Enkeltgebyr"};

                        dataSeries.Add(dataPoint);

                    }

                    break;

            }           

            radChart.DefaultView.ChartLegend.Header = string.Empty;

            radChart.DefaultView.ChartArea.DataSeries.Add(dataSeries);

        }

Sia
Telerik team
 answered on 05 Aug 2010
3 answers
132 views
Hi,

Can you please guide me, how can i print contents of the RadGridView.

Thanks,
-Narendra
Veselin Vasilev
Telerik team
 answered on 05 Aug 2010
1 answer
48 views
Hi,

Is there any functionality on RadGridView which supports searching data for any column (a column, a list of columns or all the columns at the same time)

NOTE: I'm aware of filtering functionality on gridview.

Thanks,
-Narendra
Veselin Vasilev
Telerik team
 answered on 05 Aug 2010
1 answer
555 views
I have the following derivation that includes the customary static constructor.

 

public class CustomRadDatePicker : RadDatePicker

 

 

static CustomRadDatePicker()

 

{

DefaultStyleKeyProperty.OverrideMetadata(

 

typeof(CustomRadDatePicker),

 

 

new FrameworkPropertyMetadata(typeof(CustomRadDatePicker))); // also tried RadDatePicker here

 

}

In the XAML for the controls template I have the following.

 

 

 

<Style TargetType="{x:Type SharedControls:CustomRadDatePicker}">
...

 

 

 

<Setter Property="Template">

 

 

 

 

 

 

<Setter.Value>

 

 

 

 

 

 

<ControlTemplate TargetType="{x:Type SharedControls:CustomRadDatePicker}">

Now when I use the control on a page it does not use the style I have set up but is using the Telerik style.
I have my derived control and its template set up in a WPF custom control library.
Is it allowed to override the Teleric Style?

-eric

 

George
Telerik team
 answered on 05 Aug 2010
1 answer
168 views

 

Hi,

As per my observations on RadTabcontrol, i found tooltip property is there.

Is there any property which i set the style of the tooltip like Background and ForeGround?

Miroslav
Telerik team
 answered on 05 Aug 2010
5 answers
149 views
So instead of having a one close button at the far right of the tab strip, you'd then have a close button on each tab header (like the tabstrip on Google Chrome).

Possible?
Dani
Telerik team
 answered on 05 Aug 2010
5 answers
237 views
I am pleased to see that Telerik has implemented the ability to draw custom lines onto the chart, after the request (http://www.telerik.com/community/forums/wpf/chart/drawing-extra-elements-into-or-on-top-of-chart.aspx) that was made; although I don't know if it was already in the works.

Is it possible to draw the CustomLines on top of the Bars? If the Bar's item width percent is set to 100 they effectively are invisible unless drawn at a Y-Value above the bars.
Sia
Telerik team
 answered on 05 Aug 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
Slider
Expander
TileList
PersistenceFramework
DataPager
TimeBar
Styling
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?