Click or drag to resize

MPB4Button Class

Crestron button object for MPB4 and MPC4 family devices.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpPro.DeviceSupportButton
    Crestron.SimplSharpPro.DeviceSupportMPB4Button

Namespace: Crestron.SimplSharpPro.DeviceSupport
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public class MPB4Button : Button

The MPB4Button type exposes the following members.

Properties
 NameDescription
Public propertyHorizontalLocation Get the horizontal location of button as defined on the device.
(Inherited from Button)
Public propertyName Name of this button on the device.
(Inherited from Button)
Public propertyNumber Number of this button on the device.
(Inherited from Button)
Public propertyRemoteViewName Property to set the name of the button on the device. This property is only supported for numerical buttons, when not supported accessing it throws an exception.
Public propertyRemoteViewNameFeedback Property to return the name of this button on the device. This property is only supported for numerical buttons, when not supported accessing it throws an exception.

The PanelStateChange event will trigger with ButtonRemoteViewNameFeedbackEventId and Index indicates the button number.

Public propertyState Current state of the button last received from the device.
(Inherited from Button)
Public propertyUserObject User specific object for this button.
(Inherited from Button)
Public propertyVerticalLocation Get the vertical location of the button as defined on the device.
(Inherited from Button)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Override of ToString method.
(Inherited from Button)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also