Telerik Forums
UI for WPF Forum
2 answers
209 views

When the IsBackStageOpen has TwoWay binding to a boolean in the ViewModel, and the boolean's value is true, the Backstage misbehave. 

 This is the code of the VM

namespace IsBackstageOpenBug
{
    public class MainViewModel : ViewModelBase
    {
        private bool _isBackStageOpen = true;
 
        public bool IsBackStageOpen
        {
            get
            {
                return _isBackStageOpen;
            }
            set
            {
                _isBackStageOpen = value;
                OnPropertyChanged("IsBackStageOpen");
            }
        }
    }
}

 

 

This is the XAML

 <telerik:RadRibbonWindow x:Class="IsBackstageOpenBug.MainWindow"

        Title="MainWindow" Height="350" Width="525" >
    <Grid>
        <telerik:RadRibbonView Name="MainRibbon" IsBackstageOpen="{Binding IsBackStageOpen, Mode=TwoWay}"
            ApplicationName="My App"
            telerik:KeyTipService.IsKeyTipsEnabled="True"
            MinimizeButtonVisibility="Visible"
            Foreground="Black"
            telerik:StyleManager.Theme="Windows7"
            IsMinimized="False">
            <telerik:RadRibbonView.ApplicationButtonContent>
                <TextBlock Text="Project" VerticalAlignment="Center" HorizontalAlignment="Center"/>
            </telerik:RadRibbonView.ApplicationButtonContent>
            <telerik:RadRibbonView.Backstage>
                <telerik:RadRibbonBackstage telerik:KeyTipService.AccessText="F">
 
                    <telerik:RadRibbonBackstageItem Header="New" telerik:KeyTipService.AccessText="N" />
                    <telerik:RadRibbonBackstageItem Header="Open"/>
                </telerik:RadRibbonBackstage>
            </telerik:RadRibbonView.Backstage>
            <telerik:RadRibbonTab Foreground="Black" Header="Edit" telerik:KeyTipService.AccessText="E">
                <telerik:RadRibbonGroup Header="Clipboard" />
            </telerik:RadRibbonTab>
        </telerik:RadRibbonView>
    </Grid>
</telerik:RadRibbonWindow>

 

The ribbonview does open in backstage, as expected, but clicking on the "Edit" tab, selects that tab, but leaves  the backstage opened.

 

BENN
Top achievements
Rank 1
 answered on 14 Dec 2015
1 answer
275 views

Hi,

is there any way to select and remove a single dependency? (like rightclick->remove)

it's weird that i can link two tasks together but then it's not possible to remove that link

digging in the documentation i haven't find anything on how to select an existing dependency on the timeruler part...

I only found this example but it hasn't been updated since march and crashes when i try to remove a dependency from a task (exception message: Dispatcher processing has been suspended, but messages are still being processed.)

any help would be appreciated
Polya
Telerik team
 answered on 14 Dec 2015
1 answer
213 views

Hello,

I'm trying to select rows, columns, and cells like Excel does. There was a post over 5 years ago indicating this would be possible in the future. http://www.telerik.com/forums/excel-like-cell-row-and-column-selection  Is there a way to select like Excel does now?I have the following set in XAML, but row selection and column selection do not work using this. SelectionMode="Extended"  SelectionUnit="Mixed"  Is there now a way to do this?

 

Thanks,

Scott

Dilyan Traykov
Telerik team
 answered on 14 Dec 2015
2 answers
520 views
I have a RadLegend associated with a RadCartesianChart. I would like the items associated with the legend to be listed horizontally instead of vertically. How do I do that?

Here's my XAML for my legend:
<telerik:RadLegend Items="{Binding LegendItems, ElementName=ProfitChart}"/>

Thank you,
Mark
Jonah
Top achievements
Rank 1
 answered on 11 Dec 2015
1 answer
116 views

Hello,

with the Office2013 theme, the left and right margings of a cell don't have the same width, the right margin being shorter. This makes strange looking when a right aligned column is followed by a left aligned column.

Ivan Ivanov
Telerik team
 answered on 11 Dec 2015
1 answer
96 views

Having a problem where my marker is showing up behind the background on my gauge range. Here is my code. 

 

  <telerik:VerticalLinearScale IsInteractive="False" Max="100" Min="0" Foreground="Black" >
                        <telerik:GaugeRange Min="0" Max="80" Background="Green"></telerik:GaugeRange>
                        <telerik:GaugeRange Min="80" Max="100" Background="Red"></telerik:GaugeRange>
                        <telerik:LinearScaleMarker  x:Name="indicator" telerik:LinearScale.RotateForVertical="True" telerik:ScaleObject.Location="OverCenter"  Value="{Binding Path=myEngine.PercentLoaded}" />
                    </telerik:VerticalLinearScale>

 

Everything works fine, its just that the marker is behind the gauge range backgrounds.

Ivan
Telerik team
 answered on 11 Dec 2015
1 answer
265 views

Hi,

 

We are using various third party software packages. We have come across an issue which causes a system crash and we believe it may be because some third party is using an older version of the .Net Framework. We are currently targeting .Net 4.5.

We are using Telerik's UI for WPF Product Version 2015.1.0406.40. I would be helpful to know which >Net framework this is dependent on.

Thanks in advance for your help.

 Jonathan Manoharan

Dinko | Tech Support Engineer
Telerik team
 answered on 11 Dec 2015
3 answers
177 views

Hello

I try to custom connection caps, you can find in attach files my goals and what i did.

I try 2 solutions with a custom RadDiagramConnection : 

- Override CreateSourceCapGeometry and Target : i didn't find a way to add a text into a pathFigure (not like geometryGroup and FormattedText)

- Override CreateGeometry : I works fine but the style of the line (like StrokeDashArray) is also use for the caps (that's why the text look like weird).

Do you think it's possible to do that? Is there any other solution?

 

Thank you in advance.

weird
weird
weird
Martin Ivanov
Telerik team
 answered on 11 Dec 2015
1 answer
832 views

Is there some kind of property on the RadGridView that will make it scroll to the bottom of the list when a new record is added?  I'm binding the "ItemsSource" to an ObservableCollection.  Then, in my ViewModel, I'm adding rows.  I'd like the grid to scroll to the bottom automatically, rather than requiring me to add the record and then execute a "ScrollToEnd" on the "GridViewScrollViewer".  If there is no such property, what would be the best event to tie into to make this happen (i.e. so that I could contain this code to the View rather than contaminate my ViewModel)?  Yes, I could also add an event handler to the CollectionChanged of the ObservableCollection, but that that feels redundant somehow.  (Also, from my testing, it leaves the grid one row behind, since it fires before the row is actually rendered to the grid.)

Thanks!

Brad.

Dilyan Traykov
Telerik team
 answered on 11 Dec 2015
4 answers
166 views

Hi,

I created a form that has RadMaskedTextInput, CheckBox and PasswordBox.

I am using noxaml binaries and added styles for native wpf windows controls this way:

<ResourceDictionary>
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="pack://application:,,,/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
        <ResourceDictionary Source="Resources/CommonStyles.xaml"/>
    </ResourceDictionary.MergedDictionaries>
</ResourceDictionary>

CheckBox is styled correctly. Unfortunately PasswordBox is not. It has smaller height and a border that looks strange. See Image here:

Screenshot

Is there a better way than setting form, removing border ?

Thanks,

Łukasz

Masha
Telerik team
 answered on 11 Dec 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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?