Telerik Forums
UI for WPF Forum
1 answer
119 views
Is it possible to set a cell's style based on the content of another cell in that row?

For example: 
If CellA = 0 then CellB.Background = Red
If CellA = 1 then CellB.Background = White

If this is possible, can you please post a sample project that accomplishes this?

Thank you very much.
Dimitrina
Telerik team
 answered on 29 Jun 2012
4 answers
251 views
Hi,
I have enabled the drag and drop feature in Rad Tree View, but it is causing some distortion in the view after an item is been dragged and dropped to the new position.
Item is added to the new position but not been deleted from the orginal old position in the view.

Please find the attached screen, to view the result what I'm getting after drag and drop.

Please help me on this as soon as possible.

Thanks in advance.
Koti
Top achievements
Rank 1
 answered on 29 Jun 2012
1 answer
171 views
Hello,

I need to localize the texts on a HighlightColorPicker inisde a ToolBar.

I've successfully Localized the associated RichTextBox through a resource file, but I can't find the keys for the HighlightColorPicker or an alternative way to localize the texts "Automatic", "Theme Colors" and "Standard colors".

Can you provide me the keys, or other way to translate it?

Thanks in advance
Vasil
Telerik team
 answered on 28 Jun 2012
1 answer
191 views
Hello,

is there a way to hide the selector slider control.  I still would like it to function (ie when I click on the timebar I war to be able to know I've clicked there), I just don't want to see it, or allow the user to move it.

Thanks,
Eric
Sia
Telerik team
 answered on 28 Jun 2012
1 answer
202 views
Hi,

I am currently evaluating your WPF controls. I use VS 2010 and installed the controls using TelerikUltimateCollectionSetup_2012_1_214.exe

In the Visual Studio toolbox, the controls are from the default binaries, but I want the NoXaml binaries in the toolbox instead. The Toolbox Configurator doesn't seem to be able to do this. So how should I do?

Andrey
Telerik team
 answered on 28 Jun 2012
5 answers
249 views
Hi,

I'm using RadControl Q3 2011 to build a ScheduleView in WPF application. I plan to use MonthViewDefinition (and I had created a custom  BiWeeklyViewDefinition extending MonthViewDefinition that shows current two weeks) to show the appointment data.
One of the requirement is that the ScheduleView should be able to show alternative background color of the dates across months (i.e. showing Blue color for all dates in Dec and Green color for all dates in Jan).
I know that using "TimeRulerItemStyleSelector" should be able to achieve that by building a custom selector extending OrientedTimeRulerItemStyleSelector. However, I found that I even cannot change the background color of ScheduleView in WPF by simply using OrientedTimeRulerItemStyleSelector with Style specifying:

 

 

 

 

<telerik:OrientedTimeRulerItemStyleSelector x:Key="TimeRulerItemStyleSelector">        
        <telerik:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle>
            <Style TargetType="telerik:TimeRulerItem">
                <Setter Property="Background" Value="Blue" />                
            </Style>
        </telerik:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle>        
    </telerik:OrientedTimeRulerItemStyleSelector>

 

 

 

The XAML of ScheduleView:

<telerik:RadScheduleView Grid.Row="0" Name="RSV" AppointmentsSource="{Binding Appointments}" VisibleRangeChanged="RSV_VisibleRangeChanged" Loaded="RSV_Loaded"
                                     TimeRulerItemStyleSelector="{StaticResource ResourceKey=TimeRulerItemStyleSelector}">
                <telerik:RadScheduleView.ViewDefinitions>                                       
                    <bo_calendar:BiWeeklyViewDefinition CalendarWeekRule="FirstFullWeek" FirstDayOfWeek="Monday" />
                    <telerik:MonthViewDefinition CalendarWeekRule="FirstFullWeek" FirstDayOfWeek="Monday" />
                </telerik:RadScheduleView.ViewDefinitions>                
            </telerik:RadScheduleView>

Any idea?

Thanks a lot!

Frankie

Dani
Telerik team
 answered on 28 Jun 2012
6 answers
679 views
Hi,
Can you make me an example for a confirm window that have biger buttons and without the header and the close button?
Thanks!

Dani
Telerik team
 answered on 28 Jun 2012
3 answers
319 views
How can I change the theme of the RadRichTextBoxRibbonUI / DocumentRuler / RadRichTextBox to one of the telerik themes
(Windows 7, Office Blue, Office Black, Summer, Vista, Expr.Dark...) ?

Boby
Telerik team
 answered on 28 Jun 2012
1 answer
150 views
Hello,

When I add dependencies after the gannt chart has been created, the arrows don't show up on the gantt chart.  How do I refresh the chart so that they are visible?
Thanks,
Eric
Ventzi
Telerik team
 answered on 28 Jun 2012
1 answer
260 views
I define a custom style for RadComboBoxItem, i want to change HighlightVisual, so i change the controltemplate.
It's works, but when i specify the DisplayMemberPath in my comboBox, the toString() property is used but not the DisplayMemberPath.
Thanks.

<Style x:Key="RadComboBoxItemStyle"
           TargetType="{x:Type telerik:RadComboBoxItem}">
        <Setter Property="MinHeight"
                Value="19" />
        <Setter Property="Margin"
                Value="0,-1,0,0" />
        <Setter Property="BorderThickness"
                Value="1" />
        <Setter Property="BorderBrush"
                Value="Transparent" />
        <Setter Property="Background"
                Value="Transparent" />
        <Setter Property="Padding"
                Value="3,2" />
        <Setter Property="HorizontalContentAlignment"
                Value="Stretch" />
        <Setter Property="VerticalContentAlignment"
                Value="Center" />
        <Setter Property="FocusVisualStyle"
                Value="{x:Null}" />       
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type telerik:RadComboBoxItem}">
                    <Border BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal" />
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility"
                                                                       Storyboard.TargetName="HighlightVisual">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity"
                                                                       Storyboard.TargetName="Content">
                                            <DiscreteDoubleKeyFrame KeyTime="0"
                                                                    Value="0.33" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid>
                            <Border x:Name="HighlightVisual"
                                    BorderBrush="{StaticResource ControlFocusedBrush}"
                                    BorderThickness="1"
                                    CornerRadius="0"
                                    Visibility="Collapsed">
                                <Border.Background>
                                    <LinearGradientBrush EndPoint="0.5,1"
                                                         StartPoint="0.5,0">
                                        <GradientStop Color="#FFFFFBDA"
                                                      Offset="0" />
                                        <GradientStop Color="#FFFFFBA3"
                                                      Offset="1" />
                                    </LinearGradientBrush>
                                </Border.Background>
                                <Border BorderBrush="White"
                                        BorderThickness="1"
                                        CornerRadius="0" />
                            </Border>
                            <ContentPresenter x:Name="Content"
                                              ContentTemplate="{TemplateBinding ContentTemplate}"
                                              Content="{TemplateBinding Content}"
                                              ContentStringFormat="{TemplateBinding ContentStringFormat}"
                                              HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                              Margin="{TemplateBinding Padding}"
                                              VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


Vladi
Telerik team
 answered on 28 Jun 2012
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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?