Telerik Forums
UI for WPF Forum
10 answers
149 views

Hello,

It seems that there is an issue when projects are under TFS source control. When saving the solution or after committing changes, visual studio hangs 5 to 10 minutes. I don't have this issue when telerik extensions are not installed.

When I analyze the devenv.exe execution, I see the call to Telerik.VSX.SolutionManagement.TfsSolutionStorage.CommintAllFiles is called. What is the role of this method?

Regards.

 

Steliyan
Telerik team
 answered on 11 Aug 2016
3 answers
229 views
Is there a way to set some restrictions for the LayoutControl?

1. Is there a way to limit selection only to parent containers (LayoutControlGroup) ?
2. Is there a way to disable resizing of the control groups?
3. Is there a way to hide or customize the content of the pop-up panel?
4. Is there a way to restrict docking (i.e. allowing to move elements only vertically or horizontally) ?
Kiril Vandov
Telerik team
 answered on 10 Aug 2016
4 answers
844 views

Hello,

I have a I think very simple question but I cant find any solution for it. Its about binding other properties, besides the DataMemberBinding to the current item. 

The scenario is as follows, I have a data object which is setup as follows:

public class EmployeeViewModel
{
    public Employee EmployeeData { get; set; }
 
    public EmployeeViewState ViewState { get; set; }
}
 
public class Employee
{
    public string Name { get; }
}
 
public class EmployeeViewState
{  
    public bool ColumnNameReadOnly = true;
}

 

In my main viewmodel I have the following:

public class ViewModel
{
    public ObservableCollection<EmployeeViewModel> Employees { get; set; }
 
}

 

Now I want to bind my view to this collection, I have the following XAML:

<telerik:RadGridView x:Name="grid" MinHeight="400"
                    DataContext="{Binding}"
                    ItemsSource="{Binding Employees}">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="Name:"
                                    DataMemberBinding="{Binding Path=EmployeeData.Name}"                                                    
                                    Width="215"
                                    IsReadOnly="{Binding Path=ViewState.ColumnNameReadOnly}"/>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

 

The Name property of the EmployeeData object is correctly bind to the current item of the row, but the IsReadOnly property binding is looking for a ViewState object in my main viewmodel!

How can I set the datacontext for this property the same as with the DataMemberBinding?

 

Regards,

 

Marcel

Marcel
Top achievements
Rank 1
 answered on 10 Aug 2016
3 answers
188 views

Hello,

I having problem with RadDiagramTextShape font size when it is editing. I need to RadDiagramTextShape font size in edit mode is equal to font size in normal state. I don't see any relationship between the font size in normal mode and edit mode (see attach file). I think currently font size is fixed value in edit mode. 

How I can binding/set size font in edit mode to equal in normal mode?

 

Thanks you

Adam

Peshito
Telerik team
 answered on 10 Aug 2016
4 answers
153 views

Hi,

i have a sample code:

                var document = new RadDocument();
            RadDocumentEditor editor = new RadDocumentEditor(document);
            editor.Document.LayoutMode = DocumentLayoutMode.Paged;
            editor.Document.CaretPosition.MoveToFirstPositionInDocument();
 
            for (int i = 0; i < 15000; i++)
            {
                stopwatch.Start();
                editor.InsertLine("TEST");
                stopwatch.Stop();
                System.Diagnostics.Debug.WriteLine(stopwatch.Elapsed);
                stopwatch.Reset();
            }

 

Why each of InsertLine call takes more time than previous?

 

When RadDocument contains more text it takes more time to insert? This document is not used or binded anywhere.

 

Thanks.

Tanya
Telerik team
 answered on 10 Aug 2016
12 answers
438 views
Hi

I want to know how can I Saving grid settings (Reordering of Grid Column)  on a per user basis.

Regards
Issac
Top achievements
Rank 1
 answered on 10 Aug 2016
18 answers
689 views
I am trying to remove the outer line in the treeview as you can see highlighted in the red box.

My Inner RadTreeViewItemControl Template has the following code in the ListRootContainer section regarding the lines.

<Rectangle x:Name="HorizontalLine" Stroke="{StaticResource LineBrush}" Height="1" HorizontalAlignment="Right" VerticalAlignment="Center">
                        <Rectangle.Clip>
                            <RectangleGeometry Rect="0,0,10000,1"/>
                        </Rectangle.Clip>
                    </Rectangle>
                    <Rectangle x:Name="VerticalLine" Stroke="{StaticResource LineBrush}" HorizontalAlignment="Center" VerticalAlignment="Top" Width="1">
                        <Rectangle.Clip>
                            <RectangleGeometry Rect="0,0,1,10000"/>
                        </Rectangle.Clip>
                    </Rectangle>

Is this possible?

Thanks
Ryan
Martin Ivanov
Telerik team
 answered on 09 Aug 2016
4 answers
2.2K+ views
hi
 i have one GridView that contains Column Name "Day1", "Day2" ....to "Day31".

Now i want to change Cell Background and ForeColor Based On Value.

For All the 31 Columns
if cell value = "P" then Green  Background and forecolor white.


how can i do this.
Please Help me.
Tom
Top achievements
Rank 1
 answered on 09 Aug 2016
1 answer
153 views

The EditorAttribute of the PropertyGrid currently requires the control type to be available for the class defining the attribute. In the original .NET Property Grid, the EditorAttribute supported a constructor with a string which allowed the type to be resolved at runtime rather than compile time. The TypeConverter attribute also has this type name signature available. This is particularly useful when architecting a solution where the model libraries shouldn't reference the views.

The functionality could be added with a simple constructor signature like this:

public EditorAttribute(string editorTypeName)
    this(Type.GetType(editorTypeName)
{
}

 

Martin
Telerik team
 answered on 09 Aug 2016
3 answers
232 views

Does GridView support jira like filter?

like the link below

https://jira.atlassian.com/secure/SessionNavigator.jspa

 

Stefan
Telerik team
 answered on 09 Aug 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
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?