Telerik Forums
UI for WPF Forum
1 answer
289 views
Hi,

I have RadListBox in windwo. Now I want to change the Item color based on the variable value then  I am using below code to do that but it is not doing anything..so whats the wrong in it? Can someone tell me or how to do like this?

  <telerik:RadListBox.Resources>
                                    <Style TargetType="{x:Type telerik:RadListBoxItem}">
                                        <Style.Triggers>
                                            <DataTrigger x:Name="dtCovert" Binding="{Binding iscovert}" Value="true">
                                                <Setter Property="Foreground" Value="Blue" />
                                            </DataTrigger>
                                        </Style.Triggers>
                                    </Style>
                                </telerik:RadListBox.Resources>-


My Control Usage
-------------------------
  <telerik:RadListBox SelectionMode="Extended" Grid.Row="1" Grid.Column="0" Grid.RowSpan="5" Name="listBoxAvailableList"  TabIndex="9" Width="260" Margin="2,0"  ItemsSource="{Binding AvailableCameraList}" TypedText="{Binding cameraName}" PreviewMouseDoubleClick="listBoxAvailableList_PreviewMouseDoubleClick">                             
                                <telerik:RadListBox.ItemTemplate >
                                    <DataTemplate>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="0*" />
                                                <ColumnDefinition Width="4*" />
                                            </Grid.ColumnDefinitions>
                                            <Label Name="lblCameraName" Grid.Column="1" Visibility="Visible" Content="{Binding Path=cameraName,Mode=TwoWay}" Width="150"></Label>
                                        </Grid>
                                    </DataTemplate>
                                </telerik:RadListBox.ItemTemplate>
                            </telerik:RadListBox>
Kalin
Telerik team
 answered on 17 Mar 2015
3 answers
175 views
Is there a way to override the NextAppointment or PreviousAppointment button actions?

I have different types of appointments in a timeline view. And I need the previous and next buttons to ignore some of these types when navigating.

Is there a way to override this functionality ?
Nasko
Telerik team
 answered on 17 Mar 2015
1 answer
574 views
Is there a way to specify the minWidth for the Group column, For ex I have 2 resource type and user select a resource of each type, I will get 2 columns one for each resource, Currently Schedule control determines the width, I would like to set the min width.
I do not change the width or do nay modification, just set the intial minwidth.

Thanks
vikas
Kalin
Telerik team
 answered on 17 Mar 2015
2 answers
168 views
Hi,

i have scanario which i have to implement in my project.

I have some items in radtreeview controls.and i have tileview control.

right as per the treeview item selection i am creating the tileviewitem in the tileview dashboard.

But the requirement is i have ti implement the drag and drop from only treeview to tileview.

Could you help me out to implement this.

i have attached the screen shot of my application.

and i have to show the treeviewitem when i am doing to drag and until to drop in the respective area of tileview.

i want to implement darg and drop from treeview to tileview only. not needed to do from tileview to treeview.
 Thank you
sai
Top achievements
Rank 1
 answered on 17 Mar 2015
2 answers
326 views
This is a bit of a nit but I am using the RadTreeView and registering an event handler for ItemDoubleClick which I handle or not depending on the contents of the node. Apparently the default behavior of the double click in the tree view is to expand or collapse the node which is good. However if I handle the double click I would prefer that it NOT expand or collapse. I tried setting e.Handled = true in the double click event handler but that does not seem to make a difference. Any thoughts?

Thanks
Dave
David
Top achievements
Rank 1
 answered on 16 Mar 2015
2 answers
235 views
Hello,

I wonder if it is possible to hide the bar that appears at the left side of the PropertyGridPresenter, I'd like to show only the titles and values columns.

Thanks,

Alberto
Amige
Top achievements
Rank 1
Veteran
 answered on 16 Mar 2015
1 answer
142 views
      public ObservableCollection<ABC_Class> Avldata = new ObservableCollection<ABC_Class>();

             Avldata.Add(new GrpClass() { A =1, B = 1, C = 1});
             Avldata.Add(new GrpClass() { A =2, B = 2, C = 2});
             Avldata.Add(new GrpClass() { A =3, B = 3, C = 3});
            ((GridViewComboBoxColumn)this.ABC.Columns["B"]).ItemsSource = GetOptions();
             this.ABC.ItemsSource = Avldata.ToList();

  <telerik:RadGridView Name="ABC"
                             AutoGenerateColumns="True"  Grid.ColumnSpan="4"  Grid.RowSpan="3"
                             ShowGroupPanel="False" EnableRowVirtualization="True" EnableColumnVirtualization="True"  RowIndicatorVisibility="Collapsed" Margin="10,0,0,6" CellValidating="CellValidating" AddingNewDataItem="AddingNewDataItem" RowEditEnded="RowEditEnded" DataLoaded="Dataload" KeyDown="KeyDown" CellEditEnded="CellEditEnded" RenderTransformOrigin="0.5,0.5" Grid.Row="2" BeginningEdit="BeginningEdit" RowLoaded="RowLoaded"  VerticalAlignment="Top" CanUserResizeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserSortGroups="False" ColumnWidth="80" KeyboardNavigation.AcceptsReturn="True" MaxColumnWidth="150" MinColumnWidth="80"  CanUserFreezeColumns="False" ContextMenuService.IsEnabled="False" IsFilteringAllowed="False" EnableLostFocusSelectedState="False" IsLocalizationLanguageRespected="False">
            <telerik:RadGridView.Columns>

                <telerik:GridViewComboBoxColumn UniqueName="B" DisplayMemberPath="Name" SelectedValueMemberPath="ID" DataMemberBinding="{Binding Option}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>  I am trying to show combo box in Column "B" edit mode so user can select value from combo.but combo box appearing in column index "0".how to fix the problem .thanks







Stefan
Telerik team
 answered on 16 Mar 2015
1 answer
167 views
Is there a way to set the cell text orientation to vertical or a specific angle?
Tanya
Telerik team
 answered on 16 Mar 2015
3 answers
141 views
Hi

We have a requirement wherein a NumericUpdown has to display numbers in a 2 digit decimal format.

So the User enters - 40.12

and Model value should be set to 0.4012

can this be done by some formatting options ?

Hope my question is clear.

Thanks
Nasko
Telerik team
 answered on 16 Mar 2015
2 answers
183 views
Hi,Telerik:
How to customize the GridViewHyperlinkColumn column in the RadGridView, and the expansion of custom columns GridViewHyperlinkColumn
function, according
to the type of
column Link to
different XAML
pages, the hope
can give an
example, thank
you!
Gao
Top achievements
Rank 1
 answered on 16 Mar 2015
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?