Telerik Forums
UI for WPF Forum
3 answers
171 views
Hello, i have a problem with background color of RadTabControl.
My project is using WPF. I have used RadTabControl and have some Tabs. For example i have a tab with a Grid. In the Grid i have some RadTextBox, RadComboBox  and RadExpander. When i change the theme to Expression_Black in runtime, the themes of RadTextBox and RadComboBox will be changed automatically. But the Background colors of RadExpander and TabItems will not be changed.
Do i need to do something special for TabItems and RadExpander?
Thanks!
Ivan
Top achievements
Rank 1
 answered on 11 Nov 2013
1 answer
124 views
i want to have an vertical line which should move inside the graph.

according to the image , the vertical line(intersection) should move freely , inside the graph
Petar Marchev
Telerik team
 answered on 11 Nov 2013
2 answers
183 views
I touched on this topic in my last thread, but I'd like to ask this question in a more clear manner.

Is there a way to turn off the auto-sizing feature of the diagram containers?

Essentially I'd like to be able to specify the dimensions of a container regardless of its children. This would dramatically ease the rotation issues I've been seeing as they are all tied to the container resizing itself during moving/rotation operations.

Thanks!
Tim
Top achievements
Rank 1
 answered on 08 Nov 2013
2 answers
149 views
In my scenario, I have an unknown number of ranges at run time. So, I have to create them in code, set their properties, and add them to a scale. I need to move the range well inside of the scale, so I use the ScaleObject.Location and ScaleObject.Offset properties to achieve that look. Below is a sample window's xaml showing a single gauge (windows 8 implicit style)
<Window
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="NoXamlTest.MainWindow"
        Title="MainWindow" Height="274" Width="426">
 
     
    <Grid>     
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
         
        <Button Width="75" Height="23" Click="Button_Click" Content="Default"/>
         
        <!-- NE quadrant -->
 
        <telerik:RadQuadrantNEGauge Grid.Row="1">
            <telerik:QuadrantNEScale Min="1" Max="5" MajorTicks="4" MiddleTicks="1">               
                <telerik:QuadrantNEScale.Indicators>
                    <telerik:Needle Value="3.28" OffPosition="0"/>                                         
                    <telerik:Pinpoint/>
                </telerik:QuadrantNEScale.Indicators>
                 
                <telerik:GaugeRange x:Name="MyGaugeRange" Min="1" Max="5"
                    StartWidth=".05"
                    EndWidth=".05"
                    Stroke="Black"
                    StrokeThickness="1"
                    telerik:ScaleObject.Location="Inside"
                    telerik:ScaleObject.Offset="0.15*"                                 
                    >                                      
                    <telerik:GaugeRange.Background>
                        <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
                            <GradientStop Offset="0" Color="Green"/>
                            <GradientStop Offset="1" Color="Red"/>
                        </LinearGradientBrush>
                    </telerik:GaugeRange.Background>                   
                </telerik:GaugeRange>
                                 
            </telerik:QuadrantNEScale>
        </telerik:RadQuadrantNEGauge>
         
    </Grid>
</Window>


In case these things are important, there are some oddities in Expression Blend (2012) when changing the ScaleObject properties: Blend does not recognize the change until the project is built, using the ScaleObject properties causes Blend to not display the indicator. Here is the designer in Blend (after the project is built) where you can see that the range is in the expected location:





Here is the windows actually running (where the indicator is visible).





My real issue is that I have to set those ScaleObject properties in code. So, I remove the xaml above that sets the ScaleObject properties & instead set them in code when the button at the top of the window is clicked.  That code is:



private void Button_Click(object sender, RoutedEventArgs e)
{
    GaugeRange range = FindName("MyGaugeRange") as GaugeRange;
    range.SetValue(ScaleObject.LocationProperty, ScaleObjectLocation.Inside);
    range.SetValue(ScaleObject.OffsetProperty, new GaugeMeasure( 0.15, GridUnitType.Star));
}


The result is that nothing happens.  Am I doing something wrong, or is there a different way to move the range the way I want via code?



Thanks - Mitch



Mitchell
Top achievements
Rank 1
 answered on 08 Nov 2013
8 answers
219 views
Hello :)

I have a question: How can I make bigger the toggle button generated by the GridViewToggleRowDetailsColumn. 
Is it possible?
I hope you can help me.

Best regards,
Jorge Alberto
Technique
Top achievements
Rank 1
 answered on 08 Nov 2013
3 answers
100 views

After the last update I did for my telerik products I started getting error reports from my user base. I didn't change anything to do with the carousel on my last release. I am attaching the error in a png file, let me know if anyone has any ideas. I have also had a long standing issue with the carousel where I change the selected item from code behind and if I have more than 5 items in the carousel, the third item will be brought to the top instead of the selected item. I do have code that I use to make sure that the items stay in view. But I can't see why the carousel is changing position, I had to set my selected item to null and then to the value I wanted it to be. So the carousel changes to the third item in the list then after setting it to null and back to my item it will select it properly.


Thank you

Vera
Telerik team
 answered on 08 Nov 2013
4 answers
428 views
Hello Telerik-Team,
im using the 2013 Q1 release.
Is it possible to print, without using the toolbar ?

I would like to print a document from the code behind.

Thanks
Rouven
Petya
Telerik team
 answered on 08 Nov 2013
1 answer
176 views
Hi,
Is it possible to only display the grid of a spreadsheet?
I need spreadsheet functionality (e.g. formulas) but the user interface doesn't require the ribbon or the possibility to have several worksheets. In addition it will be read only (although it would be nice to have some of the cells editable, and I am hoping you will add this feature soon).

Thanks for your help.
RD
Boryana
Telerik team
 answered on 08 Nov 2013
1 answer
95 views
Hi,

is it possible to change the time steps on drag & drop an appointment? Now the steps are minutes. Is it possible to change the
steps on moving an appointment to 15minutes (12:00 - 12:15 - 12:30 - 12:45 - ....) 

Please i Need help!! see attached file

Thanks
Best Regards
Rene
Kalin
Telerik team
 answered on 08 Nov 2013
5 answers
107 views
Hi,

I am dragging items between a ListBox and a RadScheduleView.

On a successful drag and drop the item is removed from the ListBox and added to the RadScheduleView.

If I decide to cancel the Drop in my custom ScheduleViewDragDropBehavior overidden Drop method  the RadScheduleView behaves correctly and does not add the item. However the ListBox still removes the item.

How can I stop the ListBox from removing the item when the Drop is cancelled by the RadScheduleView?

Thanks
Anthony

Nick
Telerik team
 answered on 08 Nov 2013
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?