Telerik Forums
UI for WPF Forum
3 answers
258 views
Is there a simple way to globally change font settings such as font type, font size, and font color?
Vanya Pavlova
Telerik team
 answered on 21 Jul 2015
5 answers
464 views

From following the Telerik documentation on cell validation, there seems to be two distinct approaches:

 -Handling a Cell Validation event in code behind, which leads to a nice styling around the cell, a red triangle which encourages the user to hover over, and an animated red tooltip.

 -Throwing an exception in the binding layer, which just leads to a red border around the cell.

http://docs.telerik.com/devtools/silverlight/controls/radgridview/features/managing-data-validation​

 Is there a reason why the 2nd approach is so lacking compared to the first?

 Is there an example demonstrating how to have Property validation but with the improved styling?

Stefan
Telerik team
 answered on 21 Jul 2015
2 answers
211 views

Hi,

I can make my own RadDiagramShape Style:

<Style TargetType="telerik:RadDiagramShape"
       x:Key="ShapeStyle">
    <Setter Property="Width"
            Value="200" />
    <Setter Property="Height"
            Value="80" />
    <Setter Property="FontSize"
            Value="16" />
    <Setter Property="StrokeThickness"
            Value="1" />
    <Setter Property="BorderBrush"
            Value="Black" />
    <Setter Property="Stroke"
            Value="Black" />
    <Setter Property="Background">
        <Setter.Value>
            <LinearGradientBrush EndPoint="0.5,1"
                                 StartPoint="0.5,0">
                <GradientStop Color="#FFB0B0FB"
                              Offset="0" />
                <GradientStop Color="#FF3C2ECA"
                              Offset="0.527" />
                <GradientStop Color="#FF746BCC"
                              Offset="0.987" />
            </LinearGradientBrush>
        </Setter.Value>
    </Setter>
    <Setter Property="Foreground"
            Value="White" />
</Style>

<telerik:RadDiagram Grid.Row="1"
                    IsRotationEnabled="False"
                    AllowDrop="True"
                    SelectionChanged="MainDiagram_SelectionChanged"
                    ShapeStyle="{StaticResource ShapeStyle}"
                    ConnectionStyle="{StaticResource ConnectionStyle}"
                    ConnectionBridge="Gap"
                    IsPanEnabled="True"
                    x:Name="MainDiagram"> 

 

<telerik:RadDiagramToolbox x:Name="MainToolBox"
                           IsEnabled="{Binding ActiveStructuur, Converter={StaticResource NullToBoolConverter}}"
                           HorizontalAlignment="Stretch"
                           Title="Gallery"
                           Header="ToolBox"
                           IsOpen="False" />
 

From code behind and the ToolBox these are respected: FontSize, StrokeThickness, BorderBrush, Stroke, Background.

But not the width and height when I drag from the ToolBox.

They are respected when I add the shape from code behind.

Is there a way to make the ToolBox respect the width and height I specified in the style?

Regards,

Bayram

B
Top achievements
Rank 2
 answered on 21 Jul 2015
1 answer
122 views

Hi,

I can't figure out how to change the geometry of a Shape in a Diagram using the SettingsPane. For example, I want to change a circle to a rectangle.

In your example:

http://demos.telerik.com/silverlight/#Diagrams/DesignToolbox

There is a SettingsPane that appears when you click on the cog next to a diagram shape.

Under the Style tab there is a Geometry, but that only changes the line style.

Is there a way to change a circle to a rectangle?

Regards,

Bayram

 

Martin Ivanov
Telerik team
 answered on 21 Jul 2015
5 answers
154 views
Hi, is there any way to make the settings pane floatable?

thank you in advance.
Petar Mladenov
Telerik team
 answered on 21 Jul 2015
1 answer
126 views

Hi,

 I am trying to set the Header and Footer(Raddocument's) default style. Could you guys help me in this please ? 

 We configure the MainDocuments default style in the xaml and load them using XamlFormatProvider.Import(xaml) to create the instance of RadDcoument. Would be great if we could set default style for Header and footer in xaml as well and load them. 

If configuring like above is not possible, please suggest some other way to set the default style for Header and footers

Thanks

Anand

Mihail
Telerik team
 answered on 21 Jul 2015
1 answer
242 views

 Hi, 

I am trying to set Default style for the RadDocument Header and Footer, could you guys help me in this please ? I would like to set them on loading the document and creating the Raddocument instance.

 We set the MainDocuments default style in xaml and load the xaml using XamlFormatProvider.Import(xaml) to create default document. would be great if we can configure style for the Header and footer in xamlas well.

If configuring in xaml is not possible, please suggest some other approach to achieve this

Thanks

Anand

Mihail
Telerik team
 answered on 21 Jul 2015
1 answer
308 views

I am using the RadAutoCompleteBox for getting the user input.

i can also see the DropDownItemTemplate (which is used to put a template to the dropdownitems shown)...but I can't see/find anywhere a way to use a data template for the textbox ...after the users have made a selection.

 so for example... the drop down displays (Value : Display Name) and when the selection happens on the display name is shown...but i want to display the entire thing in the autocomplete textbox...

 is there any way i can acheieve this.

 

thanks and regards,

arun

Nasko
Telerik team
 answered on 21 Jul 2015
3 answers
208 views

Hello,

With the RadScheduleView, is it possible to make it so that the user can resize only by dragging the end time of an appointment, but not the start time?

I attempted to implement this by overriding CanStartResize in a custom ScheduleViewDragDropBehavior, but couldn't find any way to determine if it is the start or end time that is being dragged.

Any assistance would be greatly appreciated

Thanks

Nasko
Telerik team
 answered on 21 Jul 2015
3 answers
254 views

Hey,

 I have created a Scheduleview and I am using Timeline view exclusively. When I have appointments that stack because of time overlapping, the other appointments in that group stretch to fit the height of the row. How can I prevent this from happening?

Also, I am aware that the functionality has been added to the month view to be able to define the height of the appointments. Is there a way to do this for the Timeline view?

 

Thanks

Rosi
Telerik team
 answered on 21 Jul 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?