Telerik Forums
UI for WPF Forum
1 answer
145 views
Hello Telerik Team,

how can i hide the marked border (background of the RadDocument). If it is not possible to hide it, how can i change the color to white or transparant?



best regards

Martin Ivanov
Telerik team
 answered on 22 Jun 2012
3 answers
162 views
Now that the dropdown menu of the RadPaneGroup displays a list of the panes it contains, is it possible to add menu items to it?

Thanks in advance,
Steve
Vladi
Telerik team
 answered on 22 Jun 2012
1 answer
136 views
I want to change the picture writings of the buttons according to their own my language.
Sample : copy = kopyala  ,  delete = sil  etc..

Thanks
Metin

Petar Mladenov
Telerik team
 answered on 22 Jun 2012
1 answer
133 views
Hi,

   I want to show my label outside the Pie chart , currently it is showing above the pie chart.
  I want Pie chart like my attached file.

Please help.
Peshito
Telerik team
 answered on 22 Jun 2012
1 answer
248 views
Hello there!

I have a RadialGauge with various Needles and I need to customize each needle color. As I've defined a unique needle style, I couldn't set each color in a separated way. I tried setting Needle.Foreground and Needle.Background but it didn't work.

Could anyone help me?

BR
Guilherme Campos

---

            <!-- Region Radial Gauge Styles and Templates -->
 
            <!-- Region Radial Gauge Background -->
            <ControlTemplate x:Key="RadialGaugeBackground" TargetType="{x:Type ContentControl}">
                <Grid Width="{TemplateBinding Width}" Height="{TemplateBinding Height}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0"/>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="0"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="0"/>
                        <RowDefinition Height="*"/>
                        <RowDefinition Height="0"/>
                    </Grid.RowDefinitions>
                    <!--<Ellipse Stretch="Fill" Grid.ColumnSpan="3" Grid.RowSpan="3" Fill="LightGray" />-->
                    <Ellipse Grid.Row="1" Grid.Column="1" Stretch="Fill" Fill="Transparent" />
                    <Ellipse Grid.Row="1" Grid.Column="1" Stretch="UniformToFill" Fill="Transparent" Height="300" Width="300"/>
                    <Path Grid.Row="1" Grid.Column="1" Stretch="None" Fill="LightGray" Stroke="Transparent" StrokeThickness="0" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Path.Data>
                            <PathGeometry>
                                <PathFigure StartPoint="0,0">
                                    <LineSegment Point="0,2" />
                                    <LineSegment Point="265,2"/>
                                    <LineSegment Point="265,0" />
                                </PathFigure>
                            </PathGeometry>
                        </Path.Data>
                    </Path>
                    <Path Grid.Row="1" Grid.Column="1" Stretch="None" Fill="LightGray" Stroke="Transparent" StrokeThickness="0" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Path.Data>
                            <PathGeometry>
                                <PathFigure StartPoint="0,265">
                                    <LineSegment Point="2,265" />
                                    <LineSegment Point="2,0"/>
                                    <LineSegment Point="0,0" />
                                </PathFigure>
                            </PathGeometry>
                        </Path.Data>
                    </Path>
                </Grid>
            </ControlTemplate>
            <!-- End Region -->
 
            <!-- Region Radial Gauge Foreground -->
            <ControlTemplate x:Key="RadialGaugeForeground" TargetType="{x:Type ContentControl}">
                <Grid Width="{TemplateBinding Width}" Height="{TemplateBinding Height}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.3*"/>
                        <ColumnDefinition/>
                        <ColumnDefinition Width="0.3*"/>
                        <ColumnDefinition/>
                        <ColumnDefinition Width="0.3*"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="0.25*"/>
                        <RowDefinition/>
                        <RowDefinition Height="0.25*"/>
                        <RowDefinition/>
                        <RowDefinition Height="0.25*"/>
                    </Grid.RowDefinitions>
 
                </Grid>
            </ControlTemplate>
            <!-- End Region -->
 
            <!-- Region Radial Gauge Needle -->
            <Style x:Key="NewNeedleStyle" TargetType="{x:Type telerik:Needle}">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate>
                            <Grid Width="{TemplateBinding ActualWidth}" Height="{TemplateBinding ActualHeight}">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="{TemplateBinding ActualWidth}" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="{TemplateBinding ActualHeight}" />
                                </Grid.RowDefinitions>
                                <Grid Grid.ColumnSpan="2">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="0.2*" />
                                        <RowDefinition Height="0.6*" />
                                        <RowDefinition Height="0.2*" />
                                    </Grid.RowDefinitions>
 
                                    <Grid Grid.Row="1" Grid.Column="1" Margin="0,0,0,0">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="3*"/>
                                        </Grid.ColumnDefinitions>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="0.2*" />
                                            <RowDefinition Height="0.6*" />
                                            <RowDefinition Height="0.2*" />
                                        </Grid.RowDefinitions>
                                        <Path Grid.Row="1" Grid.Column="0" Stretch="None" Fill="Black" Stroke="Transparent" StrokeThickness="0" HorizontalAlignment="Left" VerticalAlignment="Center">
                                            <Path.Data>
                                                <PathGeometry>
                                                    <PathFigure StartPoint="40,0">
                                                        <LineSegment Point="40,3" />
                                                        <LineSegment Point="160,3"/>
                                                        <!--<LineSegment Point="110,9"/>
                                                        <LineSegment Point="120,4.5"/>
                                                        <LineSegment Point="110,0"/>-->
                                                        <LineSegment Point="160,0"/>
                                                    </PathFigure>
                                                </PathGeometry>
                                            </Path.Data>
                                        </Path>
                                        <Path Grid.Row="1" Grid.Column="1" Stretch="None" Fill="Black" Stroke="Transparent" StrokeThickness="0" HorizontalAlignment="Left" VerticalAlignment="Center">
                                            <Path.Data>
                                                <PathGeometry>
                                                    <PathFigure StartPoint="0,3">
                                                        <LineSegment Point="0,9" />
                                                        <LineSegment Point="10,4.5"/>
                                                        <LineSegment Point="0,0"/>
                                                        <LineSegment Point="0,3"/>
                                                    </PathFigure>
                                                </PathGeometry>
                                            </Path.Data>
                                        </Path>
                                    </Grid>
                                </Grid>
                            </Grid>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
            <!-- End Region -->
 
            <!-- Region Radial Gauge Template -->
            <ControlTemplate x:Key="RadialGaugeTemplate" TargetType="{x:Type telerik:RadialGauge}">
                <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                    <Grid>
                        <ContentControl Template="{DynamicResource RadialGaugeBackground}"/>
                        <ItemsPresenter />
                        <ContentControl Template="{DynamicResource RadialGaugeForeground}"/>
                    </Grid>
                </Border>
            </ControlTemplate>
 
            <Style x:Key="RadialGaugeStyle" TargetType="{x:Type telerik:RadialGauge}">
                <Setter Property="Template" Value="{StaticResource RadialGaugeTemplate}" />
            </Style>
            <!-- End Region -->
 
            <!-- End Region -->
 
 
------------------------------------------------------------------------------------------------
 
            <!-- Region Radial Gauge -->
            <telerik:RadialGauge x:Name="radialGauge" Style="{StaticResource RadialGaugeStyle}" Width="300" Height="300" Background="White" >
                <telerik:RadialScale Min="-180" Max="180" SweepAngle="360" StartAngle="180" Radius="0.87" IsReversed="True" ShowLastLabel="True" ShowFirstLabel="False" MajorTickStep="30" >
                    <telerik:IndicatorList x:Name="RadialIndicator" >
                        <telerik:Needle x:Name="Needle0" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle1" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle2" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle3" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle4" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle5" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle6" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle7" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle8" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle9" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                    </telerik:IndicatorList>
 
                    <telerik:RadialScale.MajorTick>
                        <telerik:MajorTickProperties TickWidth="0.01" Length="0.7" Background="LightGray"></telerik:MajorTickProperties>
                    </telerik:RadialScale.MajorTick>
 
                    <telerik:RadialScale.MiddleTick>
                        <telerik:MajorTickProperties TickWidth="0.01" Length="0.4" Background="LightGray"></telerik:MajorTickProperties>
                    </telerik:RadialScale.MiddleTick>
 
                    <telerik:RadialScale.MinorTick>
                        <telerik:MajorTickProperties TickWidth="0.01" Length="0.2" Background="LightGray"></telerik:MajorTickProperties>
                    </telerik:RadialScale.MinorTick>
 
                    <telerik:RadialScale.Label>
                        <telerik:LabelProperties Foreground="Gray"></telerik:LabelProperties>
                    </telerik:RadialScale.Label>
 
 
                </telerik:RadialScale>
 
            </telerik:RadialGauge>
            <!-- End Region -->
Andrey
Telerik team
 answered on 22 Jun 2012
1 answer
119 views
Hello

I'd like to know whether it is possible to store the current
caret position of a RadDocument into the XAML string
persisted by the XamlFormatProvider?

We sometimes insert textfragments into a XAML copy of a RAD document
at runtime.
Then replace the whole RRTB document by the modified copy.
After the replacement  the caret position is lost -
of course.
If the info would get stored into the persisted XAML, it'll be fine.
Is there a way to achieve it and store the caret position into XAML?

Thx,
Chris
Iva Toteva
Telerik team
 answered on 22 Jun 2012
0 answers
98 views
Hi,

I need the current row's index in rowLoaded event of Rad Grid, Is not there any equivalent for e.rowIndex in this event?

Thanks
Anjali
Top achievements
Rank 1
 asked on 22 Jun 2012
2 answers
129 views
I have set the auto generate columns to true,I need to modify the format of some columns at run time.Which Grid event should I use for this?
Thanks,
Anjali
Anjali
Top achievements
Rank 1
 answered on 22 Jun 2012
1 answer
63 views
Hi

I am facing an issue where if i copy and paste in RadMaskedCurrencyInput(WPF) the value doesn't get reflected. I am using the DLL version 2011.1.419.35

Please note, I have set the property SelectionOnFocus="SelectAll". So what happened when i try copying any number in the textbox then the value is not visible when the focus is out of textbox but when the focus comes within the textbox then entire text get selected and the copied text gets visible.

Please suggest.

Thanks
Ambuj




Petar Mladenov
Telerik team
 answered on 22 Jun 2012
0 answers
57 views
Hi. I wonder how can I create a shadow similar to the one found in wpf demo? I've attached a screenshot. 
I searched but couldn't find source code of WPF demo app. Any help would be greatly appreciated.

Thanks
David
Top achievements
Rank 1
 asked on 22 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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Bronze
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
Bronze
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?