Show / Hide Table of Contents

Class RadioGroupElement

Represents a group of radio buttons

Inheritance
System.Object
DisposableObject
Element
RadioGroupElement
Implements
System.IDisposable
Inherited Members
Element.Host
Element.OwnedElements
Element.FieldControlContext
Element.ZOrder
Element.Visible
Element.Enabled
Element.MouseTransparent
Element.Region
Element.DisplayRegion
Element.Left
Element.Top
Element.Width
Element.Height
Element.MouseIsOver
Element.Tags
Element.MouseClick
Element.MouseDoubleClick
Element.MouseDown
Element.MouseUp
Element.MouseMove
Element.MouseWheel
Element.MouseEnter
Element.MouseLeave
Element.MouseDragStart
Element.MouseDrag
Element.MouseDragRelease
Element.MouseDragCancel
Element.Repaint()
Element.Invalidate()
Element.UpdateLocation(Int32, Int32)
Element.OnMouseClick(MouseEventArgs)
Element.OnMouseDoubleClick(MouseEventArgs)
Element.OnMouseDown(MouseEventArgs)
Element.OnMouseUp(MouseEventArgs)
Element.OnMouseMove(MouseEventArgs)
Element.OnMouseWheel(MouseEventArgs)
Element.OnMouseEnter(EventArgs)
Element.OnMouseLeave(EventArgs)
Element.OnMouseDragStart(MouseEventArgs)
Element.OnMouseDrag(MouseEventArgs)
Element.OnMouseDragRelease(MouseEventArgs)
Element.OnMouseDragCancel(EventArgs)
DisposableObject.DisposeAndNull<T>(T)
DisposableObject.DisposeStarted
DisposableObject.Disposed
DisposableObject.EnsureObjectNotDisposed()
DisposableObject.Dispose()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NFX.WinForms.Elements
Assembly: NFX.WinForms.dll
Syntax
public class RadioGroupElement : Element, IDisposable

Constructors

RadioGroupElement(ElementHostControl)

Declaration
public RadioGroupElement(ElementHostControl host)
Parameters
Type Name Description
ElementHostControl host

Properties

ButtonVSpacing

Declaration
public int ButtonVSpacing { get; set; }
Property Value
Type Description
System.Int32

CheckedElement

Returns selected item or null

Declaration
public RadioButtonElement CheckedElement { get; }
Property Value
Type Description
RadioButtonElement

Padding

Declaration
public Padding Padding { get; set; }
Property Value
Type Description
System.Windows.Forms.Padding

UpdateCount

Returns nesting depth of BeginUpdate() call

Declaration
public int UpdateCount { get; }
Property Value
Type Description
System.Int32

Methods

AddItem(Object, Object)

Declaration
public void AddItem(object key, object value)
Parameters
Type Name Description
System.Object key
System.Object value

BeginUpdate()

Declaration
public void BeginUpdate()

CheckButtonWithKey(Object)

Tries to find a button with specified key and checks it. Returns true if button could be found

Declaration
public bool CheckButtonWithKey(object key)
Parameters
Type Name Description
System.Object key
Returns
Type Description
System.Boolean

ClearItems()

Declaration
public void ClearItems()

Destructor()

Declaration
protected override void Destructor()
Overrides
Element.Destructor()

EnabledChanged()

Declaration
protected override void EnabledChanged()
Overrides
Element.EnabledChanged()

EndUpdate()

Declaration
public void EndUpdate()

FieldControlContextChanged()

Declaration
protected override void FieldControlContextChanged()
Overrides
Element.FieldControlContextChanged()

MouseTransparentChanged()

Declaration
protected override void MouseTransparentChanged()
Overrides
Element.MouseTransparentChanged()

OnCheckedChanged(EventArgs)

Declaration
protected virtual void OnCheckedChanged(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

Paint(Graphics)

Declaration
protected override void Paint(Graphics gr)
Parameters
Type Name Description
System.Drawing.Graphics gr
Overrides
Element.Paint(Graphics)

RegionChanged()

Declaration
protected override void RegionChanged()
Overrides
Element.RegionChanged()

RemoveItem(Object, Object)

Declaration
public void RemoveItem(object key, object value)
Parameters
Type Name Description
System.Object key
System.Object value

VisibleChanged()

Declaration
protected override void VisibleChanged()
Overrides
Element.VisibleChanged()

ZOrderChanged()

Declaration
protected override void ZOrderChanged()
Overrides
Element.ZOrderChanged()

Events

CheckedChanged

Declaration
public event EventHandler CheckedChanged
Event Type
Type Description
System.EventHandler

Implements

System.IDisposable

Extension Methods

MiscUtils.NonNull<T>(T, Func<Exception>, String)
ObjectValueConversion.AsString(Object, String, ConvertErrorHandling)
ObjectValueConversion.AsNonNullOrEmptyString(Object)
ObjectValueConversion.AsLaconicConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsJSONConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsXMLConfig(Object, ConfigSectionNode, ConvertErrorHandling)
ObjectValueConversion.AsChar(Object, Char, ConvertErrorHandling)
ObjectValueConversion.AsNullableChar(Object, Nullable<Char>, ConvertErrorHandling)
ObjectValueConversion.AsByte(Object, Byte, ConvertErrorHandling)
ObjectValueConversion.AsNullableByte(Object, Nullable<Byte>, ConvertErrorHandling)
ObjectValueConversion.AsSByte(Object, SByte, ConvertErrorHandling)
ObjectValueConversion.AsNullableSByte(Object, Nullable<SByte>, ConvertErrorHandling)
ObjectValueConversion.AsShort(Object, Int16, ConvertErrorHandling)
ObjectValueConversion.AsNullableShort(Object, Nullable<Int16>, ConvertErrorHandling)
ObjectValueConversion.AsUShort(Object, UInt16, ConvertErrorHandling)
ObjectValueConversion.AsNullableUShort(Object, Nullable<UInt16>, ConvertErrorHandling)
ObjectValueConversion.AsInt(Object, Int32, ConvertErrorHandling)
ObjectValueConversion.AsNullableInt(Object, Nullable<Int32>, ConvertErrorHandling)
ObjectValueConversion.AsUInt(Object, UInt32, ConvertErrorHandling)
ObjectValueConversion.AsNullableUInt(Object, Nullable<UInt32>, ConvertErrorHandling)
ObjectValueConversion.AsLong(Object, Int64, ConvertErrorHandling)
ObjectValueConversion.AsNullableLong(Object, Nullable<Int64>, ConvertErrorHandling)
ObjectValueConversion.AsULong(Object, UInt64, ConvertErrorHandling)
ObjectValueConversion.AsNullableULong(Object, Nullable<UInt64>, ConvertErrorHandling)
ObjectValueConversion.AsDouble(Object, Double, ConvertErrorHandling)
ObjectValueConversion.AsNullableDouble(Object, Nullable<Double>, ConvertErrorHandling)
ObjectValueConversion.AsFloat(Object, Single, ConvertErrorHandling)
ObjectValueConversion.AsNullableFloat(Object, Nullable<Single>, ConvertErrorHandling)
ObjectValueConversion.AsDecimal(Object, Decimal, ConvertErrorHandling)
ObjectValueConversion.AsNullableDecimal(Object, Nullable<Decimal>, ConvertErrorHandling)
ObjectValueConversion.AsBool(Object, Boolean, ConvertErrorHandling)
ObjectValueConversion.AsNullableBool(Object, Nullable<Boolean>, ConvertErrorHandling)
ObjectValueConversion.AsGUID(Object, Guid, ConvertErrorHandling)
ObjectValueConversion.AsNullableGUID(Object, Nullable<Guid>, ConvertErrorHandling)
ObjectValueConversion.AsDateTime(Object)
ObjectValueConversion.AsDateTime(Object, DateTime, ConvertErrorHandling)
ObjectValueConversion.AsNullableDateTime(Object, Nullable<DateTime>, ConvertErrorHandling)
ObjectValueConversion.AsGDID(Object)
ObjectValueConversion.AsGDID(Object, GDID, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDID(Object, Nullable<GDID>, ConvertErrorHandling)
ObjectValueConversion.AsGDIDSymbol(Object)
ObjectValueConversion.AsGDIDSymbol(Object, GDIDSymbol, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDIDSymbol(Object, Nullable<GDIDSymbol>, ConvertErrorHandling)
ObjectValueConversion.AsTimeSpan(Object)
ObjectValueConversion.AsTimeSpan(Object, TimeSpan, ConvertErrorHandling)
ObjectValueConversion.AsNullableTimeSpan(Object, Nullable<TimeSpan>, ConvertErrorHandling)
ObjectValueConversion.AsEnum<TEnum>(Object, TEnum, ConvertErrorHandling)
ObjectValueConversion.AsNullableEnum<TEnum>(Object, Nullable<TEnum>, ConvertErrorHandling)
ObjectValueConversion.AsUri(Object, Uri, ConvertErrorHandling)
JSONExtensions.ToJSON(Object, JSONWritingOptions)
JSONExtensions.ToJSON(Object, TextWriter, JSONWritingOptions)
JSONExtensions.ToJSON(Object, Stream, JSONWritingOptions, Encoding)
ErlObject.ToErlObject(Object)
ErlObject.ToErlObject(Object, ErlTypeOrder, Boolean)
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX