Telerik Forums
UI for WPF Forum
3 answers
506 views
Hi,

How do I determine the current docked position of a RadSplitContainer?

I have content in a RadPane that I want to format depending on the current docked position of the pane in the RadSplitContainer (for example, a horizontal format when docked to the top or bottom and a vertical format when docked to the left or right and changing the ExpandDirection of expanders to match the current docked position). I've noticed there is a Friend property "State" that seems to contain the current docked position, however this property is not accessible publicly. What is the best way to obtain this information? (A dirty way would be to subclass RadSplitContainer and expose the State property publicly, but it feels like a particularly dirty way to get to this information).

Kind regards,
Dave.
Konstantina
Telerik team
 answered on 19 Apr 2012
1 answer
386 views
Hello,

I am trying to do what I thought would be a simple implementation of the RadTransition and running into technical difficulties. I am building a kiosk app for us to use for a week. I load the main window with a grid and a frame in the grid. The frame source gets set to my *Start PAGE* which has 4 buttons on it. When I start the app the window loads (although you don't see it) and then the frame loads the start page. When a button is clicked on the start page in the event handler I want to get back to the main window frame where my RadTransition is and change the source to the page that corresponds to button clicked.As per your demo I use the SiteMap and SitePage models.

Now I would gladly add the new page to the SitePage and then Call SiteMap.SelectNextPage but I can't get a handle to it. I would update the source of the frame in the parent window but I can't get a handle to it either. So how do I go about getting the RadTransition to switch pages in WPF app?

Also I am not asking you to do my homework I just need to be pointed in the right direction.

TIA
JB

Tried uploading but the project too large so making a mock up for you to see. OK attached mock example....guess not. Can't upload zip to the forum. I put it here: http://www.gpgvm.org/wpfapplication1.zip
Ivo
Telerik team
 answered on 19 Apr 2012
0 answers
91 views
Hi,

i'm quite new to WPF. I have this problem.

I have an image in a pane, an the image automatically changes its size. but i don't want that. i want to enlarge the pane, so you can see the complete image (even if it doesn't fit in the pane, i will use scrool bars for horizontal and vertical ..)..

My code looks like this:

<telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer Margin="0" telerik:DockingPanel.InitialSize="8,2">
                <telerik:RadPaneGroup Name="paneGrpDocuments" TabStripPlacement="Top">
                <telerik:RadDocumentPane Header="StartDokument" Name="Start">
                            <Image HorizontalAlignment="Left" VerticalAlignment="Top"  RenderOptions.EdgeMode="Aliased" Source= "/Images/StartImage_stretched2.png"></Image>
                </telerik:RadDocumentPane>
                        <telerik:RadDocumentPane Header="Doc 1" Name="doc1" />
                        <telerik:RadDocumentPane Header="Doc 2" Name="doc2" />
                </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
        </telerik:RadDocking.DocumentHost>
Tobias
Top achievements
Rank 1
 asked on 19 Apr 2012
0 answers
143 views
Hi,

i know you can double click the ScheduleView and show the add/edit appointment dialog!
How can i save all the Values in this dialog? 

Recurrence pattern:
- Daily, Weekly, Monthly, Yearly, Revur every ...

Range of recurrence:
No end date, End after, .....

On AppointmentEdited i just get the body, Subject, Start, End,...

Appointment appointment_obj = e.Appointment as Appointment;
string body_s = appointment_obj.body;

Thanks a lot
Rene
ITA
Top achievements
Rank 1
 asked on 19 Apr 2012
1 answer
69 views
Hi,

I have a calendar showing 3 months:
JAN - FEB - MARCH

if I click a date in March the calendar changes and displays March as the first month..
My calendar now look like this
MARCH - APRIL - MAY

I guess this is caused by the fix in 2012.1 SP1 ("When the SelectedDate changes through code the DisplayDate is not updated")
Any changes to SelectedDate will now update DisplayDate...

I would like the calendar to behave as it did prior to this fix -> clicking a date should not update DisplayDate
(if user wants to navigate back and forth he can do so using the left/right arrows on the top of the calendar)
I want the 3 displayed months to be JAN-FEB-MAR

How can I achieve this?
Ivo
Telerik team
 answered on 19 Apr 2012
1 answer
72 views
I have a RadDropDownButton containing several controls. One of the controls is a RadRating button. When I click the RadRating button, the RadDropDownButton closes. This is the only control in the RadDropDownButton that exhibits this behavior and I am able to use the Rating control from the Toolkit with no issues, but would prefer to use the RadRating control.

Thanks, Paul
Viktor Tsvetkov
Telerik team
 answered on 19 Apr 2012
1 answer
234 views
When bitmap image is displayed in WPF it may look blurry. This may happen because WPF can use fractional values of width\height or position. Some vendors provide workarounds for this problem:

PixelSnapper from DevExpress
PixelSnapper from Actipro

Does Telerik has similar component? If yes then how is it named?
Vlad
Telerik team
 answered on 19 Apr 2012
1 answer
140 views
Is there any way to make the enter key work like tab for masked input?  Our users are used to a 10-key entry so letting them hit enter to save and navigate to the next textbox on the control would be great.

Petar Mladenov
Telerik team
 answered on 19 Apr 2012
4 answers
162 views
Hi,

My RadGridView correctly calculates the column widths, but (and this could just be because of my computer speed) there is a quarter-second lapse where the RGV is displayed with the columns all bunched up. It's cosmetic, but I'm hoping to get rid of that. I'm assuming the lapse is while the RGV calculates the column widths thus unavoidable, so is there a way to hide the view until it is done?

Thanks
Peter
Top achievements
Rank 1
 answered on 19 Apr 2012
2 answers
325 views
I have used the winForms gridview and it has a property called mastergridviewtemplate.autosizecolumnsmode. By setting this to Fill it will stretch the column widths so they fill the width of the gridview. As you make the gridview width smaller the column widths gets smaller. 

I am just starting to use the WPF gridview and was wondering if there is anything similar to this in the WPF version.

Dev
Top achievements
Rank 1
 answered on 18 Apr 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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?