skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DialogParameters

Structure that holds all parameters for customizing dialog window.

Inheritance
System.Object
DialogParameters
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll

Syntax

public class DialogParameters : Object

Constructors

DialogParameters()

Initializes a new instance of the DialogParameters class.

Declaration
public DialogParameters()

Properties

CancelButtonContent

Gets or sets the content in the Cancel button.

Declaration
public object CancelButtonContent { get; set; }
Property Value
System.Object

The content in the Cancel button.

Closed

Gets or sets the method that will be called when the Closed event of the Window is fired.

Declaration
public EventHandler<WindowClosedEventArgs> Closed { get; set; }
Property Value
System.EventHandler<WindowClosedEventArgs>

The method that will be called when the Closed event of the Window is fired.

Content

Gets or sets the content to be displayed.

Declaration
public object Content { get; set; }
Property Value
System.Object

The content to be displayed.

ContentStyle

The style to be applied to the dialog box content. This should be Style for one of the RadAlert, RadConfirm or RadPrompt classes.

Declaration
public Style ContentStyle { get; set; }
Property Value
System.Windows.Style

DefaultPromptResultValue

Gets or sets the default prompt result value shown in the Prompt dialog window. The default prompt result value shown in the Prompt dialog window.

Declaration
public string DefaultPromptResultValue { get; set; }
Property Value
System.String

DialogStartupLocation

Gets or sets a WindowStartupLocation value for the predefined dialogs.

Declaration
public WindowStartupLocation DialogStartupLocation { get; set; }
Property Value
WindowStartupLocation

Header

Gets or sets the object to appear in the title bar.

Declaration
public object Header { get; set; }
Property Value
System.Object

The object to appear in the title bar.

IconContent

Gets or sets the content of the icon area in the title bar.

Declaration
public object IconContent { get; set; }
Property Value
System.Object

The content of the icon area in the title bar.

IconTemplate

Gets or sets the DataTemplate of ContentPresenter of the icon area in the dialog.

Declaration
public DataTemplate IconTemplate { get; set; }
Property Value
System.Windows.DataTemplate

The the DataTemplate of ContentPresenter of the icon area in the dialog.

Left

Gets or sets a value that represents the distance between the left of an element and the left side of the page.

Declaration
public double Left { get; set; }
Property Value
System.Double

LeftOffset

Gets or sets an offset value for the Left position in case ofDialogStartupLocation is set to CenterParent.

Declaration
public double LeftOffset { get; set; }
Property Value
System.Double

ModalBackground

Gets or sets the modal background of a dialog window.

Declaration
public Brush ModalBackground { get; set; }
Property Value
System.Windows.Media.Brush

The modal background.

OkButtonContent

Gets or sets the content in the OK button.

Declaration
public object OkButtonContent { get; set; }
Property Value
System.Object

The content in the OK button.

Opened

Gets or sets the method that will be called when the Opened event of the Window is fired.

Declaration
public EventHandler Opened { get; set; }
Property Value
System.EventHandler

The method that will be called when the Opened event of the Window is fired.

Owner

Gets or sets the Owner of the RadWindow.

Declaration
public ContentControl Owner { get; set; }
Property Value
System.Windows.Controls.ContentControl

Theme

Gets or sets the theme to be applied on the dialog window. The theme to be applied on the dialog window.

Declaration
public Theme Theme { get; set; }
Property Value
Theme

Top

Gets or sets a value that represents the distance between the top of an element and the top of the page.

Declaration
public double Top { get; set; }
Property Value
System.Double

TopOffset

Gets or sets an offset value for the Top position in case of DialogStartupLocation is set to CenterParent.

Declaration
public double TopOffset { get; set; }
Property Value
System.Double

WindowStyle

The style to be applied to the RadWindow that will host the dialog box. This should be Style for the RadWindow class.

Declaration
public Style WindowStyle { get; set; }
Property Value
System.Windows.Style

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.