Telerik Forums
UI for WPF Forum
4 answers
109 views

After last update the RibbonWindow can not correctly displayed.

If the RibbonWindow property WindowState="Maximized" the window was not correctly displayed. The left boarder is not complete visible on screen and on the right side i see a pice from the desktop.

When the user changed the windowsize, the RibbonWindow displayed like the attached example.

 

Harald
Top achievements
Rank 2
 answered on 21 Jul 2015
2 answers
162 views

Hi,
I have a gridview to show only some columns of a table the first time, and some others after the first time. The problem is if I do not include all columns in the first query when the query is changed the gridview do not update those columns.
Please assist me in this regard
Thank you

XAML
<telerik:RadGridView Grid.Row="1" Grid.ColumnSpan="4" Name="GridNewDate" ItemsSource="{Binding Path=dataTable}" ActionOnLostFocus="None"
                                         AutoGenerateColumns="False" HorizontalAlignment="Left" CanUserInsertRows="False" CanUserDeleteRows="True"
                                         ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" Margin="0,5,0,0"   CanUserFreezeColumns="True">
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn Header="A"                           DataMemberBinding="{Binding A}" />
                            <telerik:GridViewDataColumn Header="B"                           DataMemberBinding="{Binding B}" />
                            <telerik:GridViewDataColumn Header="C"                            DataMemberBinding="{Binding C}" />
                            <telerik:GridViewDataColumn Header="D"                            DataMemberBinding="{Binding D}" />
                        </telerik:RadGridView.Columns>
                    </telerik:RadGridView>

C# (Model)
DataTable dataTable;

If (firstTime)
{
_View.GridNewDate.ItemsSource = GetData(“SELECT A, C FROM T”);
                firsTime = false;
}
else
{
_View.GridNewDate.ItemsSource = GetData(“SELECT A, B, C, D FROM T”);

}

Quan
Top achievements
Rank 1
 answered on 21 Jul 2015
3 answers
195 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
432 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
183 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
97 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
127 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
94 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
187 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
274 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
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?