Skip to content

Commit

Permalink
Fixes #704 by removing invalid casts
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Mar 6, 2019
1 parent f26cb56 commit 59d2ccd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@
- [#673](../../issues/673) - RibbonContextualTabGroup not shown
- [#677](../../issues/677) - Alt Codes no longer working in alpha version v7.0.0
- [#688](../../issues/688) - Backstage and StartScreen closing when pressing Alt
- [#698](../../issues/698) - Submenus in the application menu are not opened each time
- [#698](../../issues/698) - Submenus in the application menu are not opened each time
- [#704](../../issues/704) - CheckBox.Header - InvalidCastException

- ### Enhancements/Features
- [#516](../../issues/516) - Add options to hide the row containing RibbonTabItems
Expand Down
2 changes: 1 addition & 1 deletion Fluent.Ribbon/Controls/CheckBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public string KeyTip
/// <inheritdoc />
public object Header
{
get { return (string)this.GetValue(HeaderProperty); }
get { return this.GetValue(HeaderProperty); }
set { this.SetValue(HeaderProperty, value); }
}

Expand Down
2 changes: 1 addition & 1 deletion Fluent.Ribbon/Controls/ComboBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public string KeyTip
/// <inheritdoc />
public object Header
{
get { return (string)this.GetValue(HeaderProperty); }
get { return this.GetValue(HeaderProperty); }
set { this.SetValue(HeaderProperty, value); }
}

Expand Down
2 changes: 1 addition & 1 deletion Fluent.Ribbon/Controls/RadioButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public string KeyTip
/// <inheritdoc />
public object Header
{
get { return (string)this.GetValue(HeaderProperty); }
get { return this.GetValue(HeaderProperty); }
set { this.SetValue(HeaderProperty, value); }
}

Expand Down
2 changes: 1 addition & 1 deletion Fluent.Ribbon/Controls/RibbonControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public string KeyTip
/// <inheritdoc />
public object Header
{
get { return (string)this.GetValue(HeaderProperty); }
get { return this.GetValue(HeaderProperty); }
set { this.SetValue(HeaderProperty, value); }
}

Expand Down
2 changes: 1 addition & 1 deletion Fluent.Ribbon/Controls/ToggleButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public string GroupName
/// <inheritdoc />
public object Header
{
get { return (string)this.GetValue(HeaderProperty); }
get { return this.GetValue(HeaderProperty); }
set { this.SetValue(HeaderProperty, value); }
}

Expand Down

0 comments on commit 59d2ccd

Please sign in to comment.