WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class IsEnabledResourceKeyExtension

    Show / Hide Table of Contents

    Class IsEnabledResourceKeyExtension

    Markup extension for work with resources.

    Inheritance
    System.Object
    IsEnabledResourceKeyExtension
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class IsEnabledResourceKeyExtension : ResourceKey

    Constructors

    IsEnabledResourceKeyExtension()

    Initializes a new instance of the IsEnabledResourceKeyExtension class.

    Declaration
    public IsEnabledResourceKeyExtension()

    IsEnabledResourceKeyExtension(ResourceKeyState, String)

    Initializes a new instance of the IsEnabledResourceKeyExtension class.

    Declaration
    public IsEnabledResourceKeyExtension(ResourceKeyState state, string id)
    Parameters
    Type Name Description
    ResourceKeyState state

    Given resource key state.

    System.String id

    Given string id of resource key.

    Properties

    Assembly

    Gets the value that represents an Assembly where is the resources is located.

    Declaration
    public override Assembly Assembly { get; }
    Property Value
    Type Description
    System.Reflection.Assembly

    ID

    Gets or sets the System.String value that represents key of resource.

    Declaration
    public string ID { get; set; }
    Property Value
    Type Description
    System.String

    State

    Gets or sets the value that represents accessibility of System.Windows.ResourceKey.

    Declaration
    public ResourceKeyState State { get; set; }
    Property Value
    Type Description
    ResourceKeyState

    Methods

    Equals(Object)

    Determines whether the specified System.Object is equal to the current System.Object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The System.Object to compare with the current System.Object.

    Returns
    Type Description
    System.Boolean

    True if the specified System.Object is equal to the current System.Object; otherwise, false.

    GetHashCode()

    Serves as a hash function for a particular type.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    A hash code for the current System.Object.

    ProvideValue(IServiceProvider)

    Returns System.Windows.ResourceKey that is used as a key in a dictionary.

    Declaration
    public override object ProvideValue(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    System.IServiceProvider serviceProvider

    Object that can provide services for the markup extension.

    Returns
    Type Description
    System.Object

    The object value to set on the property where the extension is applied.

    ToString()

    Returns a System.String that represents the current markup extension.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String that represents the current markup extension.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved