Telerik Forums
UI for WPF Forum
2 answers
745 views
Hi,
My Telerik control version is 2014.3.1202.40 and I'm using the Expression Dark theme.
I'd like to modify the color of menu item and it background when the menu item is highlighted (i.e. when the mouse is over). For example, in the attached screen dump, I'd like to set "Copy" to red, and its background to green. I try to find the colors in Telerik.Windows.Controls.Navigation.xaml, but don't know which item to change. Could you help me with that? Thanks.

Regards,
Gong
Vadimir
Top achievements
Rank 1
 answered on 03 Mar 2015
2 answers
224 views
hi I am seeing this problem just like this feedback posting http://feedback.telerik.com/Project/143/Feedback/Details/66990-on-smaller-resolution-the-datetimepickers-popup-is-showing-wrong

this is what we see below



any workaround for this? thanks.



Masha
Telerik team
 answered on 03 Mar 2015
1 answer
121 views
Hi.

Currently, I have two gridview.

one thing is page list.

another thing is items list about that.

I want to changed item list by selecting page list.

below my code.
----------------------------------------------------------------------------------------
void Selection(object selecteditem)
{
   .....
    if (ManagerType == AppType.Status)
        StatusTag.DataFilter(Page.PageItemList.Where(r => r.PageNum == pageNum).ToList());
    if (ManagerType == AppType.Analog)
        AnalogTag.DataFilter(Page.PageItemList.Where(r => r.PageNum == pageNum).ToList());
   ....
}
----------------------------------------------------------------------------------------

It's well behaving.

But it seems that memory crash.

Because pipe communication is disconnected.

Why occur that problem?

Ivan Ivanov
Telerik team
 answered on 03 Mar 2015
1 answer
181 views
My application contains a RadGridView control that is used to display search results.  The data displayed contains a property whose value is an enumerated value that represents the quality of GPS data contained in another property.  Values represent Good, OK, Bad, and Not Available (not the identifiers in the code, but just the idea).  This enumerated value is bound to a GridViewImageColumn; there is an IValueConverter class that converts the enumerated value into the pack URI for one of 4 different images in the program resources.  A green circle is used to represent Good, a yellow circle is used for OK, a red circle for Bad, and a grey circle for Not Available.

Everything displays find, but there is a problem when the users click on the Filter icon to display the Filtering pop-up.  In that case, what they see is the full URI to the images.  This just isn't right; I'd rather have the images themselves displayed, or a string that represents the state, or, if all else fails, just don't let the user filter on the column.

I know that I can implement the last option easily by setting the column's IsFiterable property to false, but I'd really like to get the Filter popup for this one case to display the image.  The control already has the URI, and using Snoop I was able to see that there is a template that includes a TextBox in use.  I need to override the template for this one column.  How do I do it?
Ivan Ivanov
Telerik team
 answered on 02 Mar 2015
1 answer
368 views
When right clicking on a table inside the RichTextBox, a context menu appears. How can I remove/disable from this context menu the following options:
merge cells, table boders, autofit, table properties.

Thanks!
Tanya
Telerik team
 answered on 02 Mar 2015
7 answers
376 views
Hi,

I have a RadGridView containing a GridViewColumn which contains four 'action' buttons.

<telerik:GridViewColumn Header="{x:Static commonResources:CommonResources.ActionColumn}" >
    <telerik:GridViewColumn.CellTemplate>
        <DataTemplate>
            <StackPanel Orientation="Horizontal">
                <bc:RadGridViewActionButton NormalImage="../Images/dgy_040_edit_normal.png"
                                            MouseOverImage="../Images/bk_040_edit_normal.png"
                                            Visibility="{Binding Path=DataContext.IsModifySupported, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}, Converter={StaticResource BooleanToVisibilityConverter}}"
                                            ToolTip="{Binding Path=DataContext.ModifyCommandToolTip, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
                                            Command="{Binding Path=DataContext.ModifyCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}" />
                <bc:RadGridViewActionButton NormalImage="../Images/dgy_200_details_normal.png"
                                            MouseOverImage="../Images/bk_200_details_normal.png"
                                            Visibility="{Binding Path=DataContext.IsViewSupported, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}, Converter={StaticResource BooleanToVisibilityConverter}}"
                                            ToolTip="{Binding Path=DataContext.DetailsCommandToolTip, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
                                            Command="{Binding Path=DataContext.DetailsCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}" />
                <bc:RadGridViewActionButton NormalImage="../Images/dgy_030_delete_normal.png"
                                            MouseOverImage="../Images/bk_030_delete_normal.png"
                                            Visibility="{Binding Path=DataContext.IsDeleteSupported, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}, Converter={StaticResource BooleanToVisibilityConverter}}"
                                            ToolTip="{Binding Path=DataContext.DeleteCommandToolTip, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
                                            Command="{Binding Path=DataContext.DeleteCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}" />
                <bc:RadGridViewActionButton NormalImage="../Images/dgy_028_copy_normal.png"
                                            MouseOverImage="../Images/bk_028_copy_normal.png"
                                            Visibility="{Binding Path=DataContext.IsCopySupported, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}, Converter={StaticResource BooleanToVisibilityConverter}}"
                                            ToolTip="{Binding Path=DataContext.CopyCommandToolTip, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
                                            Command="{Binding Path=DataContext.CopyCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}" />
            </StackPanel>
        </DataTemplate>
    </telerik:GridViewColumn.CellTemplate>
</telerik:GridViewColumn>
In the view model I set the visibility of the 'action' buttons.

This works well in the sense that the buttons are displayed or hidden in the grid.

But the 'Action' column with always takes into account the total width of all four buttons even when some of them are not displayed.

How can I get the GridViewColumn to only take up as much space as the actual displayed buttons?

Thanks,
Peter


Dimitrina
Telerik team
 answered on 02 Mar 2015
4 answers
208 views
test
Robert
Top achievements
Rank 1
 answered on 02 Mar 2015
1 answer
1.2K+ views
Hi,

My question is very very very simple ..... and though I'm struggling achieving this.
All I want, is a menu item being an image (via the ICON property) and on MouseOver event, change that picture with another one...... It's that easy but can't make it happen. Why the hell is this so complex ?

Anyone to help ?

01.<telerik:RadMenu Grid.Row="2" Grid.Column="1" Width="40" HorizontalAlignment="Right" Background="Transparent" ClickToOpen="True">
02.    <telerik:RadMenuItem Header="" Width="40" Height="40" ToolTip="Settings">
03.        <telerik:RadMenuItem.Icon>
04.            <Image x:Name="btnSetting" Source="Resources/setting.png" Stretch="UniformToFill">
05.            </Image>
06.        </telerik:RadMenuItem.Icon>
07.        <Trigger Property="IsMouseOver" Value="true">
08.            <Setter TargetName="btnSetting" Property="Source" Value="Resources/setting-hover.png"></Setter>
09.        </Trigger>
10.    </telerik:RadMenuItem>
11.</telerik:RadMenu>

On compile, I get an error msg saying IsMouseOver is not a valid Event and if I change this into "Property="Mouse.MouseOver" then it says not recognized or not accessible ??????

Cheers,

Chris
Masha
Telerik team
 answered on 02 Mar 2015
1 answer
85 views
Hi,

Viewing the screen cap you can see the issue I am having with the labels overrunning one another. Is there a way to have the label expand to amount of chart items?

Thanks,

Tony
Martin Ivanov
Telerik team
 answered on 02 Mar 2015
2 answers
390 views
I'm using the RadChart and right now am unable to migrate to the RadChartView.

Viewing the attached screen capture, what is my best option for sorting this out?

Thanks,

Tony
Martin Ivanov
Telerik team
 answered on 02 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
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?