/// <summary> /// Gets the ButtonSpec associated with the provided item. /// </summary> /// <param name="element">Element to search against.</param> /// <returns>Reference to ButtonSpec; otherwise null.</returns> public ButtonSpec ButtonSpecFromView(ViewBase element) { if (_buttonManager != null) { return(_buttonManager.ButtonSpecFromView(element)); } else { return(null); } }
/// <summary> /// Gets the ButtonSpec associated with the provided item. /// </summary> /// <param name="element">Element to search against.</param> /// <returns>Reference to ButtonSpec; otherwise null.</returns> public ButtonSpec ButtonSpecFromView(ViewBase element) { return(_buttonManager?.ButtonSpecFromView(element)); }