Back to Devexpress

JumpListItemTask.Path Property

windowsforms-devexpress-dot-utils-dot-taskbar-dot-jumplistitemtask.md

latest2.9 KB
Original Source

JumpListItemTask.Path Property

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Gets or sets the full path to a destination folder or a file that is launched by the JumpListItemTask.

Namespace : DevExpress.Utils.Taskbar

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue("")]
[DXCategory("Behavior")]
public string Path { get; set; }
vb
<DefaultValue("")>
<DXCategory("Behavior")>
Public Property Path As String

Property Value

TypeDefaultDescription
StringString.Empty

The full path to a destination folder or a file that is launched by the JumpListItemTask.

|

Remarks

The Path property allows you to set the full path to a file that is launched when an end-user clicks the current JumpListItemTask in the JumpList. You can set a path to a command file or to a document that can be opened. It is also possible to specify a path to a folder to be opened. You can also specify the command file arguments with the JumpListItemTask.Arguments property. To specify a custom working directory for the launched process, use the JumpListItemTask.WorkingDirectory property.

To perform custom actions on task clicks, you can handle the JumpListItemTask.Click event. This event fires even if the Path property is specified.

See Also

Arguments

WorkingDirectory

Click

JumpListItemTask Class

JumpListItemTask Members

DevExpress.Utils.Taskbar Namespace