Telerik Forums
UI for WPF Forum
2 answers
316 views

Hello, can someone tell me how to style a RadTreeViewItem purely in code behind?

I did read this article: http://docs.telerik.com/devtools/wpf/controls/radtreeview/styles-and-templates/styling-and-appearance-styling-radtreeviewitem#modifying-the-default-style

but I don't want to use XAML at all and I don't know how to access those properties in code.

Greg
Top achievements
Rank 1
 answered on 26 May 2016
10 answers
457 views

Hello, 

 

In my RadRibbonGroup, I want to hide his icon, but I don't find which property use.

To problem-round bypasses, I set Icon property with a small .png file without background, but the icon in RadRibbonGroup is so ugly... (file "1").

 

 

Have you got any idea ?

 

Thank you.

 

Valentin.

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 26 May 2016
1 answer
283 views

Hi team,

i am usng radImage Editor and trying to load jpg image in via ImageFormatProviderManager.import function and getting error that {"The image cannot be decoded. The image header might be corrupted."}.

 

Same image i can load in image editor demo wpf application given by telerik.

 

I want to know the reason

 

code here 

 string extension = Path.GetExtension(resource).ToLower();

            IImageFormatProvider formatProvider = ImageFormatProviderManager.GetFormatProviderByExtension(extension);
            //Image image = Image.FromFile(resource);
            MemoryStream mmStream = new MemoryStream();

            using (FileStream fsStream = File.OpenRead(resource))
            {
                fsStream.CopyTo(mmStream);
            }
            return formatProvider.Import(mmStream);

 

Also attached the exception screen shot and sample Jpg file

 

Regards

Hema

 

Todor
Telerik team
 answered on 26 May 2016
6 answers
1.6K+ views

I've been trying to change the size of the calendar in the DateTimePicker. Most likely a larger font size of the calendar is what's needed.

I tried following the following link, but could not get the theme to work.  http://www.telerik.com/forums/how-to-easily-change-font-size

Any help is appreciated.

Thanks...

Jace
Top achievements
Rank 1
 answered on 25 May 2016
2 answers
151 views

Is it possible to make the clock portion as one column with a vertical scrollbar?  Attached is a pic of kind of what I'm looking for.

Thanks...

Jace
Top achievements
Rank 1
 answered on 25 May 2016
6 answers
388 views
I'm trying to use the RadSlider control with a tooltip to indicate the value as the thumb is dragged. This behavior can be seen with a base WPF Slider control when specifying the AutoToolTipPlacement property.

My RadSlider uses the 'IsDeferredDraggingEnabled="True"' but I still want the tooltip to display the value where the thumb is currently if the user has the mouse pressed, and have the binding source update when the user is done dragging. Also, I need control over formatting the tooltip based on the value. An example of what I am doing currently is shown below.

<telerik:RadSlider Padding="2" Width="154"
                        Minimum="{Binding MinSpeedValue}" Value="{Binding SpeedValue}" Maximum="{Binding MaxSpeedValue}"
                        LargeChange="1" SmallChange="1" IsMoveToPointEnabled="True" TickFrequency="1" IsSnapToTickEnabled="True"
                        ToolTip="{StaticResource SpeedTooltip}"
                        IsDeferredDraggingEnabled="True"/>

Any help would be appreciated.
Douwe
Top achievements
Rank 1
 answered on 25 May 2016
1 answer
285 views

Hello telerik,

i am using within a RadGridView in Win8Touch Theme a GridViewCheckBoxColumn with Binding to a Boolean.

Technically everything works fine.

But there seems to be a design bug.

If a checkbox has the focus, the design of the checkbox is displayed properly. If it doesn't have the focus, the checkbox seems to be cut off.

Here a simplified code snippet

<telerik:RadGridView HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ItemsSource="{Binding Path=UserRights.UserRights}" telerik:StyleManager.Theme="Windows8Touch" ShowGroupPanel="False" AutoGenerateColumns="False" >
   <telerik:RadGridView.Columns>
      <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding IsRightGranted}" IsReadOnly="False" Width="60" UniqueName="Right.IsGranted" IsFilterable="False" AutoSelectOnEdit="True" EditTriggers="CellClick" />
   </telerik:RadGridView.Columns>
</telerik:RadGridView>

I have also attached a screenshot displaying this style problem.

Thank you for your help.

Mike

Dilyan Traykov
Telerik team
 answered on 25 May 2016
6 answers
130 views

Hi,

I am using RadRibbonWindow, in which i am setting MinWidth and MinHeight. 

But, the window can still be made smaller using the crosshairs which appear at the edge of the window. 

Is this a bug or am i missing something? Please help!

 

Thanks! :)

Martin
Telerik team
 answered on 25 May 2016
1 answer
238 views

Hi,

I want to remove Ctrl+A, which will select all record in GridView.

I have requirement that User will be able to select multiple record/row by clicking on that. But user should not be able to Select All either from Header selction column check box or Ctrl+A.

 

Please suggest how to do that ASAP.

 

--

Manoj S

Dilyan Traykov
Telerik team
 answered on 25 May 2016
7 answers
284 views

Hello,

 

I want to change the color of vertical and horizontal gridLines of my chart (target on my screen '12'), but I don't find which property can do this changement..

The MajorXLine and MajorYLine don't have a semblable property.

 

Can you help me ?

 

 

Thank you very much.

 

Valentin.

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 25 May 2016
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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?