• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

WindowSettings

The settings for the Window actions when the Window is opened through WindowService (see example).

NameTypeDefaultDescription

appendTo?

ViewContainerRef

Defines the container in which the Window will be inserted. Specifying this option changes the place in the page hierarchy where the Window will be inserted.

autoFocusedElement?

string

Sets the focused element query selector.

content?

string | Function | TemplateRef<any>

Defines the content of the Window.

cssClass?

any

Sets the custom CSS classes that will be rendered on the Window wrapper element. Supports the union type of values that NgClass accepts ngClass.

draggable?

boolean

Specifies is the Window is draggable.

height?

number

Specifies the height of the Window.

htmlAttributes?

{[key: string]: string}

Sets the HTML attributes of the Window wrapper element. The property accepts string key-value based pairs.

keepContent?

boolean

Specifies if the content of the Window is persisted in the DOM when the Window is minimized.

left?

number

Specifies the left offset of the Window.

messages?

WindowMessages

Defines the text of the labels that are shown within the Window. Used primarily for localization.

minHeight?

number

Specifies the minimum height of the Window.

minWidth?

number

Specifies the minimum width of the Window.

preventClose?

(ev: any, windowRef?: WindowRef) => boolean

Defines a predicate that verifies if the closing of the Window should be prevented. It applies to clicking the Close button of the title bar, pressing the Esc key or calling the close method. Returning true from the predicate prevents the Window from closing. If the Close button of the title bar is clicked or Esc is pressed, a WindowCloseResult instance is passed.

resizable?

boolean

Specifies if the Window is resizable.

state?

WindowState

Specifies the initial state of the Window.

title?

string

Sets the title of the Window.

titleBarContent?

TemplateRef<any>

Defines the content of the title bar.

top?

number

Specifies the top offset of the Window.

width?

number

Specifies the width of the Window.

Constructors

WindowSettings

()