Skip to main content

BarItemLinkBase.CustomResources Property

Gets or sets custom resources for the current link. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v22.2.dll

NuGet Package: DevExpress.Wpf.Core


public ResourceDictionary CustomResources { get; set; }

Property Value

Type Description

A ResourceDictionary object that contains custom resources for the current link.


This example demonstrates how to change a BarItemLink’s appearance by customizing templates (available via the CustomResources property)

To learn more on how to implement similar functionality in Silverlight, refer to the T246660 example.

See also: T361488 - How to find and change an inner DevExpress control template.

View Example

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using DevExpress.Xpf.Core;

namespace CustomResources {
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : DXWindow {
        public MainWindow() {
See Also