In This Article

FontSizeComboBox Class

Represents a font size combobox ribbon control.

public class FontSizeComboBox : ComboBox, IKeyTipTarget, IVariantControl
Inheritance:
object Visual UIElement FrameworkElement Control ItemsControl Selector ComboBox ComboBoxBase ComboBox object
Implements:
IKeyTipTarget IVariantControl

Remarks

For detailed documentation on this control's features and how to use them, please see the FontSizeComboBox documentation topic.

Constructors

FontSizeComboBox()

Initializes an instance of the FontSizeComboBox class.

public FontSizeComboBox()

Methods

CoerceCommandParameter(DependencyObject, object)

Coerces a new CommandParameterProperty value.

protected override object CoerceCommandParameter(DependencyObject obj, object value)
Parameter Type Description
obj DependencyObject

The System.Windows.DependencyObject whose property is changed.

value object

The new value being set.

Returns

object:

The coerced value to set.

ExtractDataItem(object)

Extracts the data item from the container.

protected override object ExtractDataItem(object itemContainer)
Parameter Type Description
itemContainer object

The item container.

Returns

object:

The data item.

IsNullValue(object)

Returns whether the specified value should be represented by blank text in the textbox portion of the combobox.

protected override bool IsNullValue(object value)
Parameter Type Description
value object

The value to examine.

Returns

bool:

true if the specified value should be represented by blank text in the textbox portion of the combobox; otherwise, false.

OnInitialized(EventArgs)

Occurs after the control has been initialized.

protected override void OnInitialized(EventArgs e)
Parameter Type Description
e EventArgs

An EventArgs that contains the event data.

Inherited Members