Back to Devexpress

FileManagerBuilder.FocusedItemKey(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-filemanagerbuilder-dot-focuseditemkey-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

FileManagerBuilder.FocusedItemKey(String) Method

Specifies a key of the initially or currently focused item. Mirrors the client-side focusedItemKey option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public FileManagerBuilder FocusedItemKey(
    string value
)

Parameters

NameTypeDescription
valueString

The option value.

|

Returns

TypeDescription
FileManagerBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().FileManager()
    .FocusedItemKey("myValue")
)

See Also

FileManagerBuilder Class

FileManagerBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace