-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from irihitech/part_name
Fix #6
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace Irihi.Avalonia.Shared.Common; | ||
|
||
public static class PartNames | ||
{ | ||
public const string PART_ContentPresenter = "PART_ContentPresenter"; | ||
public const string PART_HeaderPresenter = "PART_HeaderPresenter"; | ||
public const string PART_ItemsPresenter = "PART_ItemsPresenter"; | ||
public const string PART_IconsPresenter = "PART_IconsPresenter"; | ||
public const string PART_Popup = "PART_Popup"; | ||
public const string PART_Flyout = "PART_Flyout"; | ||
public const string PART_Header = "PART_Header"; | ||
public const string PART_Content = "PART_Content"; | ||
public const string PART_OverflowPanel = "PART_OverflowPanel"; | ||
public const string PART_ItemsControl = "PART_ItemsControl"; | ||
public const string PART_CloseButton = "PART_CloseButton"; | ||
public const string PART_Icon = "PART_Icon"; | ||
public const string PART_BackgroundBorder = "PART_BackgroundBorder"; | ||
public const string PART_FocusElement = "PART_FocusElement"; | ||
public const string PART_Thumb = "PART_Thumb"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
namespace Irihi.Avalonia.Shared.Common; | ||
|
||
public static class PseudoClasses | ||
{ | ||
public const string PC_Disabled = ":disabled"; | ||
public const string PC_Pointerover = ":pointerover"; | ||
public const string PC_Pressed = ":pressed"; | ||
public const string PC_Focus = ":focus"; | ||
public const string PC_FocusWithin = ":focus-within"; | ||
public const string PC_Horizontal = ":horizontal"; | ||
public const string PC_Vertical = ":vertical"; | ||
public const string PC_Selected = ":selected"; | ||
public const string PC_Checked = ":checked"; | ||
public const string PC_Active = ":active"; | ||
public const string PC_Indeterminate = ":indeterminate"; | ||
|
||
#region Positions | ||
|
||
public const string PC_Top = ":top"; | ||
public const string PC_Bottom = ":bottom"; | ||
public const string PC_Right = ":right"; | ||
public const string PC_Left = ":left"; | ||
|
||
#endregion | ||
|
||
#region Collection | ||
|
||
public const string PC_First = ":first"; | ||
public const string PC_Last = ":last"; | ||
public const string PC_Empty = ":empty"; | ||
|
||
#endregion | ||
|
||
|
||
} |