Telerik Forums
UI for WPF Forum
2 answers
137 views

How can we modify the look of the "drop shadow" that appears on the schedule view when a valid drop item is held over it (but the drop hasn't occurred yet)? For example, how is the drop shadow's background color defined? Also, can we control the display of time in the shadow (eliminate it or change the text color)?

I know that "drop shadow" probably isn't the proper term. I've attached an image with arrows pointing to what I'm calling the "drop shadow".

Thanks!
Tim
Top achievements
Rank 1
 answered on 24 Feb 2016
1 answer
371 views

I am trying to set the LabelFormat on a RadHorizontalDataAxis, but everything I try turns out to be in the wrong format.

    <telerik:RadHorizontalDataAxis  Minimum="-30"  Maximum="50" LabelsVisibility="FirstLastAndOriginValueOnly" />

I want the labels to display as  " -30%   0%    50% "

I have tried setting the string in xaml, and in the loaded event (a binding won't work for me because of where it is in the visual tree)

LabelFormat = "{0}%" - invalid format

LabelFormat = "/{0/}/%"- invalid format

LabelFormat = "P" - applies a calculation "-300.000%  0.000% 500.000%" which I could work around, if there is a way to hide the decimals?

 

Can anyone help me out? None the formatting examples ever seem to show how to set stringformats in xaml with the proper characters escapes

 

 

Peshito
Telerik team
 answered on 24 Feb 2016
1 answer
239 views

 have a PDF file with some files on portrait orientation and other pages with landscape orientation.

If I print the document from the PdfViewer, using the RadToolbar, the landscape pages are facing to he inside (left), I mean, if I put a bind on the left side of the document, I will be binding the landscape pages on the bottom of them.

If I print out the same document from Adobe Reader, the landscape pages are facing he outside (right).

The problem is, I'm printing documents with hundreds of pages, then I have to go and rotate all landscape pages before installing the binder.

How can I control the direction landscape pages rotated?

 

Thank you

Tanya
Telerik team
 answered on 24 Feb 2016
6 answers
749 views

I've got hundreds of thousands of RTF files with embedded images that use the {\pict\wmetafile8 tag.  When I load them into the radRichTextBox, the images won't display (I see a red 'X' broken image link icon).

Is there any way I can get them to display or is there I way I could programmatically alter RTF files to manipulate the images into a format the radRichTextBox can handle?  I am ok if the solution causes a loss of some quality on the images.

Todor
Telerik team
 answered on 24 Feb 2016
5 answers
296 views

Hi!

 

When writing automated tests required a mouse click on the found text in RadRichTextBox. How I can convert DocumentPosition to screen coordinates. 

 

Thanks in advance.

Aylin
Telerik team
 answered on 24 Feb 2016
2 answers
146 views
Using RadGridView, I defined some column groups. Each group has some columns. In control panel, I have column chosser. Any idea how to make column chooser display three view with Column groups and columns, so it should look something like this

Group 1
    
Yoan
Telerik team
 answered on 23 Feb 2016
1 answer
302 views

Dear all, could you please be so kind to tell me if it's possible to use SVG source for radmap?

I've downloaded map from https://commons.wikimedia.org/wiki/File:Blank_map_of_Russia-gray.svg and want to use it in my app. Thanks in advance.

Petar Mladenov
Telerik team
 answered on 23 Feb 2016
8 answers
699 views
Dear Telerik support,

In my project I have 3 RadSplitContainer and I would like if one of these not able to resize, I dont want to appear the resize arrow (this is a panel which contains buttons).
I tried this, but this disable all container resizing:

<telerik:RadDocking.Resources>
   <Style TargetType="telerik:RadGridResizer">
      <Setter Property="IsHitTestVisible" Value="False" />
   </Style>
</telerik:RadDocking.Resources>

I tried if set the min/max height, but when I load back the layout the panel will be resizable again (I use layout save and load).

The base of the code:
<telerikDocking:RadDocking >
            <telerikDocking:RadDocking.DocumentHost>  
                <telerikDocking:RadSplitContainer>
                    <telerikDocking:RadPaneGroup>
                        <telerikDocking:RadPane BorderThickness="0" CanUserClose="False" CanFloat="False" CanUserPin="False" >
                            <!-Content->
                        </telerikDocking:RadPane>
                         
                        <telerikDocking:RadPane BorderThickness="0" CanUserClose="False" CanFloat="False" CanUserPin="False" >
                            <!-Content->
                        </telerikDocking:RadPane>
                         
                        <telerikDocking:RadPane BorderThickness="0" CanUserClose="False" CanFloat="False" CanUserPin="False" >
                            <!--Content-->   
                        </telerikDocking:RadPane>
 
                        <telerikDocking:RadPane BorderThickness="0" CanUserClose="False" CanFloat="False" CanUserPin="False" >
                            <!-Content->
                        </telerikDocking:RadPane>
                    </telerikDocking:RadPaneGroup>
                     
                </telerikDocking:RadSplitContainer>
            </telerikDocking:RadDocking.DocumentHost>
            <telerikDocking:RadSplitContainer InitialPosition="DockedBottom" telerikDocking:DockingPanel.InitialSize="400,200">
                <telerikDocking:RadPaneGroup>
                    <telerikDocking:RadPane CanUserClose="False" CanFloat="True" CanUserPin="True" IsPinned="True">
                        <!-Content->
                    </telerikDocking:RadPane>
                </telerikDocking:RadPaneGroup>
            </telerikDocking:RadSplitContainer>
            <telerikDocking:RadSplitContainer InitialPosition="DockedBottom" Height="60" VerticalAlignment="Center" VerticalContentAlignment="Center" MaxHeight="60" MinHeight="60">
                <telerikDocking:RadPaneGroup Padding="0" VerticalAlignment="Center" VerticalContentAlignment="Center" >
                    <telerikDocking:RadPane PaneHeaderVisibility="Collapsed" BorderThickness="0" CanUserClose="False" CanFloat="False" Height="60" CanDockInDocumentHost="False" CanUserPin="False" IsPinned="True"  >
                        <!--Not dockable not resizable content-->
                    </telerikDocking:RadPane>
                </telerikDocking:RadPaneGroup>
            </telerikDocking:RadSplitContainer>
</telerikDocking:RadDocking>

Is there any possibility to disable resizing, or how can I solve this problem?

Thanks,
Rob
Kalin
Telerik team
 answered on 23 Feb 2016
2 answers
123 views

Hi,

after updating to 2016.1.217.40 the searchpanel is always visible on every GridView. I cant hide it with

ShowSearchPanel="False"

Also the close button is deactivated (grayed out).

Any tips/ideas? Thanks

Philipp
Top achievements
Rank 1
 answered on 22 Feb 2016
5 answers
94 views

I have a radexpander on a form that is meant to expand over a custom control.  The relevant WPF is:

 

            <Grid Grid.Column="2" Grid.Row="1" Margin="0,20,0,0">
                <Grid.RowDefinitions>
                    <RowDefinition Height="85*"/>
                    <RowDefinition Height="15*" MinHeight="50px"/>
                </Grid.RowDefinitions>
                <gsas:FullHourlyView Grid.Row="0"/>
                <gsas:Legend Grid.Row="1" Margin="20,15,0,0" Visibility="{Binding LegendVisible, Converter={StaticResource BoolToVis}, FallbackValue=Visible}"/>
            </Grid>

            <telerik:RadExpander x:Name="expand" Grid.Column="2" Grid.Row="1" ExpandDirection="Up" VerticalAlignment="Stretch" VerticalContentAlignment="Bottom" HorizontalHeaderAlignment="Right" telerik:AnimationManager.IsAnimationEnabled="True" IsExpanded="{Binding AlarmGridExpanded, Mode=TwoWay}" Collapsed="expand_Collapsed" Expanded="expand_Expanded" ToolTip="Show Alarms">
                <ContentControl HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="{Binding AlarmsGrid}"></ContentControl>
            </telerik:RadExpander>
        </Grid>

The FullyHourlyView is made up of four other custom controls, the relevant bit being:

               <ItemsControl ItemsSource="{Binding HourData}" x:Name="HourBlocks">
                <ItemsControl.ItemsPanel>
                    <ItemsPanelTemplate>
                        <StackPanel Orientation="Horizontal"/>
                    </ItemsPanelTemplate>
                </ItemsControl.ItemsPanel>
                <ItemsControl.ItemTemplate>
                    <DataTemplate>
                        <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="-1,0,-3,0"  Command="{Binding ElementName=HourBlocks, Path=DataContext.HourlyClick}" CommandParameter="{Binding}">

There are a couple of behaviors I now have to do with the radexpander being on there.  

1) The buttons do not fire, in fact that appear to be disabled or something like that because when you hover over it they do not highlight like they do when I remove the radexpander from the WPF.

2) The tooltip for the buttons is the same as the Tooltip for the RadExpander (Show Alarms).

If I remove the expander everything works as I would expect.

 

Mark
Top achievements
Rank 1
 answered on 22 Feb 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
Security
VirtualKeyboard
HighlightTextBlock
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?